結果 : java program to count the number of words in string