TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'an old boat on a beach near a large body of water'. Find frequency of the letter 'a'

SOLUTION: 8

PROBLEM: Sentence: 'a group of people standing on grass with a train in the background'. Find frequency of the letter 'n'

SOLUTION: 6

PROBLEM: Sentence: 'an old photo shows people standing in the water with planes in the sky'. Find frequency of the letter 'e'

SOLUTION:
6