結果 : python count consecutive repeated values in string