結果 : count repeated elements in string python