TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'a teddy bear is sitting on a heart shaped patio chair outside'. Find frequency of the letter 'i'

SOLUTION: 6

PROBLEM: Sentence: 'a group of cows that are standing in the grass'. Find frequency of the letter 'g'

SOLUTION: 3

PROBLEM: Sentence: 'a bedroom with a neatly made bed and a laptop'. Find frequency of the letter 'l'

SOLUTION:
2