The return value is the number of printable characters in <text>.
ANSI escape sequences will be counted as printable characters by this function!
Convert <text> via $stripcrap(ANSI <text>) first if you suspect it may contain ansi escape sequences.
Practical:
Useful if you want to format columns of things that may contain highlight
attributes.