TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'a tv in a glass mirror in the bathroom'. Find frequency of the letter 'h'

SOLUTION: 2

PROBLEM: Sentence: 'a closet with a fan, luggage and various boxes'. Find frequency of the letter 'a'

SOLUTION: 6

PROBLEM: Sentence: 'a dining room area with wood table and six chairs'. Find frequency of the letter 'a'

SOLUTION:
6