結果 : count repeated substring in python