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 group of people is riding on the back of the truck'. How many words end with the letter 'e' in the sentence.

SOLUTION: 4

PROBLEM: Sentence: 'a living room filled with furniture and a purple couch under a window'. How many words end with the letter 'h' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'an army man stands next to an army motorcycle'. How many words end with the letter 'y' in the sentence.

SOLUTION:
2