結果 : check how many words in a string python