How do you count the number of words in a string in Java

join shbcf.ru