Pergunta de entrevista da empresa Impetus Technologies

Given a String, count the characters and print.