TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'a kitchen with hanging lights, an island with sink and bar stools, a refrigerator, small pantry door, wooden cabinets and shiny wood floor'. Find frequency of the letter 'n'

SOLUTION: 12

PROBLEM: Sentence: 'a bird is perched on a container in a person's hand'. Find frequency of the letter 'c'

SOLUTION: 2

PROBLEM: Sentence: 'two soccer teams playing a soccer match in a stadium'. Find frequency of the letter 'a'

SOLUTION:
6