TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'a sailboat is floating near the rocky shore of a beach'. Find frequency of the letter 'o'

SOLUTION: 5

PROBLEM: Sentence: 'man is snow gear and skis skiing in the snow'. Find frequency of the letter 'i'

SOLUTION: 5

PROBLEM: Sentence: 'a man smiles and holds a hot dog with lots of toppings'. Find frequency of the letter 'o'

SOLUTION:
6