結果 : count occurrences of character in string python