Pregunta de entrevista de PwC

write a program to count the characters in a given string , while concatenating the count with each character