結果 : count the frequency of words in a string python