結果 : count the same characters in a string python