結果 : count the frequency of each character in a string python