Returns the absolute value of the difference in length between two terms.
The String and other are trimmed for the calculation.
other
int lengthDistance(Term other) => (trim().length - other.trim().length).abs();