結果 : count consecutive letters in a string python