TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'a small boat and a large boat on a river near a city'. Find frequency of the letter 'a'

SOLUTION: 10

PROBLEM: Sentence: 'a woman standing in front of a bathroom sink in front of a mirror'. Find frequency of the letter 'o'

SOLUTION: 8

PROBLEM: Sentence: 'street sign at the corner of spencer and 6th street'. Find frequency of the letter 'p'

SOLUTION:
1