PwC Interview Question

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