TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'a blue fire hydrant painted on the bottom of it'. Find frequency of the letter 'h'

SOLUTION: 2

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

PROBLEM: Sentence: 'city two way street with cars lined up on both sides'. Find frequency of the letter 'h'

SOLUTION:
2