結果 : count occurrences of a character in string python