結果 : python count consecutive repeated values