TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'party cakes in plastic containers, with a cake with a plastic santa claus and reindeer on top'. Find frequency of the letter 's'

SOLUTION: 6

PROBLEM: Sentence: 'an elephant with broken tusks stands in front of a hill and boulders'. Find frequency of the letter 'n'

SOLUTION: 7

PROBLEM: Sentence: 'a person is surfing on a small wave in the ocean'. Find frequency of the letter 'g'

SOLUTION:
1