Pregunta de entrevista de Impetus Technologies

Given a String, count the characters and print.