Pergunta de entrevista da empresa Capital One

Write a function to count the most frequently used letter in a string.