Pregunta de entrevista de Beaconfire

Given: "aaaabbccccccc" return number of max occurrence