Traverse the input data. Count the number of consecutive repeating characters (run length). Store the character and its run length.
Traverse the input data. Count the number of consecutive repeating characters (run length). Store the character and its run length