TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'a player swings his bat at a baseball game'. Find frequency of the letter 'p'

SOLUTION: 1

PROBLEM: Sentence: 'one woman is arranging the other woman's hair'. Find frequency of the letter 'o'

SOLUTION: 4

PROBLEM: Sentence: 'a bird sitting on a black fence with  dot spots'. Find frequency of the letter 'f'

SOLUTION:
1