結果 : count repeated characters in a string python using dictionary