TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'a bird on a tree is flapping its wings'. Find frequency of the letter 'o'

SOLUTION: 1

PROBLEM: Sentence: 'oranges are sitting in a bowl on a table'. Find frequency of the letter 'a'

SOLUTION: 5

PROBLEM: Sentence: 'a man waterskiing behind a boat on the lake'. Find frequency of the letter 'r'

SOLUTION:
1