Pergunta de entrevista da empresa Coforge

Write a code to count each character from string