TASK DEFINITION: In this task, you need to count the number of times the given letter appears in the given sentence.
PROBLEM: Sentence: 'bananas are being dried in a tropical setting'. Find frequency of the letter 'i'

SOLUTION: 5

PROBLEM: Sentence: 'a small boat and a large boat on a river near a city'. Find frequency of the letter 'a'

SOLUTION: 10

PROBLEM: Sentence: 'view of huge bed with picture frame hanging above it, and day bed in front of window'. Find frequency of the letter 'i'

SOLUTION:
7