TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'a cat sleeping near lots of pairs of shoes'. Find frequency of the letter 'r'

SOLUTION: 2

PROBLEM: Sentence: 'food sitting in bowls on table with checked tablecloth'. Find frequency of the letter 't'

SOLUTION: 6

PROBLEM: Sentence: 'red shower curtains in a dimly lit bathroom'. Find frequency of the letter 'i'

SOLUTION:
4