結果 : counting frequency of characters in a string python