TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'a dog is shown sitting on rocks by the beach'. Find frequency of the letter 'a'

SOLUTION: 2

PROBLEM: Sentence: 'a black bear sitting in the grass taking a rest'. Find frequency of the letter 'a'

SOLUTION: 6

PROBLEM: Sentence: 'a woman looks down at a glass of wine in her hands'. Find frequency of the letter 'e'

SOLUTION:
2