For e.g. “aaaabbbbaaaaaaacd”, should result in a: 7, b: 3, c: 1, d: 1 NOTE: “a” occurs twice consecutively, but the second instance has the maximum occurrence