Count the number of letters in a string