TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'an elephant has taken a man's hat in its trunk'. Find frequency of the letter 'p'

SOLUTION: 1

PROBLEM: Sentence: 'apples, pears, and oranges are piled up for sale'. Find frequency of the letter 'a'

SOLUTION: 6

PROBLEM: Sentence: 'a large brown dog holding an orange frisbee in it's mouth while walking through water'. Find frequency of the letter 'o'

SOLUTION:
6