結果 : count occurrences in a string python