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 bird is perched on a container in a person's hand'. Find frequency of the letter 'c'

SOLUTION: 2

PROBLEM: Sentence: 'round table with flowers and wine glasses laid out on it'. Find frequency of the letter 'n'

SOLUTION:
4