TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'a toilet filled with a brown liner and dirty water'. Find frequency of the letter 't'

SOLUTION: 5

PROBLEM: Sentence: 'a young man riding a skateboard near a forest'. Find frequency of the letter 'd'

SOLUTION: 2

PROBLEM: Sentence: 'a baseball game is in action as a batter swings'. Find frequency of the letter 'o'

SOLUTION:
1