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 and gray cat is in a bathroom sink'. How many words end with the letter 'm' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a gross dirty toilet in a unmaintained bathroom'. How many words end with the letter 't' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'an intersection shows a building on one side and two doubledecker buses and a third vehicle pulling up to a crosswalk before a side road'. How many words end with the letter 'a' in the sentence.

SOLUTION:
4