About to complete a program to count the number of words in a string.