Word Count Reference → String → Word Count Count the number of words in a string. String: The input string.