結果 : how to count same characters in string in python