TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'a giraffe shares a habitat with a zebra, an ostrich, and an okapi'. Find frequency of the letter 'e'

SOLUTION: 3

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 people standing around a tv'. Find frequency of the letter 'g'

SOLUTION:
2