[linux] How can I count the number of characters in a Bash variable