TASK DEFINITION: In this task, you need to count the number of words in a sentence that end with the given letter. Answer with numbers and not words.
PROBLEM: Sentence: 'the cat is hiding on the shelf in the closet'. How many words end with the letter 'n' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'an airplane parked inside an airplane hangar at night'. How many words end with the letter 'e' in the sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a double decker bus parked on the street'. How many words end with the letter 'n' in the sentence.

SOLUTION:
1