結果 : how to count different characters in string python