TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'this yellow fire hydrant sits in a grass field'. Find frequency of the letter 'i'

SOLUTION: 5

PROBLEM: Sentence: 'men are riding on motorcycles with a man riding in their carriers'. Find frequency of the letter 'r'

SOLUTION: 8

PROBLEM: Sentence: 'a cruise ship can be seen in the distance with a smaller boat headed towards it'. Find frequency of the letter 'h'

SOLUTION:
4