TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'a person is riding in a cart pulled by a horse'. Find frequency of the letter 'a'

SOLUTION: 4

PROBLEM: Sentence: 'a blue bowl holding mashed bananas and oatmeal with a bottle of sugar and cinnamon sitting beside it'. Find frequency of the letter 'g'

SOLUTION: 3

PROBLEM: Sentence: 'a guy surfs a wave in the ocean'. Find frequency of the letter 'v'

SOLUTION:
1