結果 : count repeated values in string python