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 white motorcycle is next to a store front that says macau welcomes you'. How many words end with the letter 's' in the sentence.

SOLUTION: 3

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 black and white cat looking at its reflection in the mirror'. How many words end with the letter 'a' in the sentence.

SOLUTION:
1