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: 'a small bathroom with a toilet vanity and bath tub'. How many words end with the letter 'h' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a teddy bear holding a pillow in his hands'. How many words end with the letter 'a' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a photo of a meal on a plate on a table'. How many words end with the letter 'a' in the sentence.

SOLUTION:
4