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 city bus with hard blue double seats'. How many words end with the letter 's' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'zebra eating grass in a field caged in silver fence'. How many words end with the letter 'd' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a man walking across a dirt field with a yellow frisbee'. How many words end with the letter 'a' in the sentence.

SOLUTION:
3