TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'a red fire hydrant opened and spilling water'. Find frequency of the letter 'd'

SOLUTION: 4

PROBLEM: Sentence: 'four women around a man sitting in front of a cake'. Find frequency of the letter 'o'

SOLUTION: 5

PROBLEM: Sentence: 'a batter, catcher and umpire waiting for the pitch and a major league baseball game'. Find frequency of the letter 'c'

SOLUTION:
3