TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'there is a sandwich with a lot of meat cut in half'. Find frequency of the letter 'a'

SOLUTION: 5

PROBLEM: Sentence: 'a large grass pasture land with sheep grazing on grass'. Find frequency of the letter 'a'

SOLUTION: 7

PROBLEM: Sentence: 'it is time for the elephant to feed her baby'. Find frequency of the letter 'm'

SOLUTION:
1