Question d’entretien chez PwC

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