Google interview question

given a string encoding: a1b2c2 (lower case alphabets followed with their count)= abbcc