結果 : how to count repeated characters in a string python