結果 : count frequency of characters in a string in python