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 wine bottle and two glasses on a counter'. How many words end with the letter 's' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a group of people sitting around a wooden table with food and beer'. How many words end with the letter 'a' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a few boats docked at a pier with one boat that has balloons on them'. How many words end with the letter 'h' in the sentence.

SOLUTION:
1