TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'a herd of horses standing next to each other on a field'. Find frequency of the letter 'r'

SOLUTION: 3

PROBLEM: Sentence: 'a bedroom with a neatly made bed and a laptop'. Find frequency of the letter 'l'

SOLUTION: 2

PROBLEM: Sentence: 'a woman leaning on a building talking on her cell phone'. Find frequency of the letter 'a'

SOLUTION:
5