How do you count the number of words in a string