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 riding a surfboard in the middle of a wave'. Find frequency of the letter 'o'

SOLUTION: 3

PROBLEM: Sentence: 'cooked fish and green broccoli share a single white plate'. Find frequency of the letter 'c'

SOLUTION: 3

PROBLEM: Sentence: 'two baseball players slapping hands on the field'. Find frequency of the letter 'a'

SOLUTION:
5