Counts number of words in the specified str.
str
public static int WordCount(string str)
The string to parse.
An integer with the number of words found.