結果 : count frequency of each element in a string python