結果 : count occurrences of each character in a string python