結果 : count duplicate words in string python