結果 : program to count number of words in a string python