Pergunta de entrevista da empresa Bank of America

Write me a code to count the frequency of a letter in a string