Pregunta de entrevista de OneShield

Write a program to count the frequency of all characters in a string.