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: 'a woman is taking a sip of a drink from a glass'. Find frequency of the letter 'i'

SOLUTION: 4

PROBLEM: Sentence: 'a young boy is holding a putter golf club and is practicing his swing'. Find frequency of the letter 'n'

SOLUTION:
5