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: 'three adults riding on top of an elephant swimming'. How many words end with the letter 'n' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a wall with an exit sign fan and clock'. How many words end with the letter 'n' in the sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a bathroom with a picture of a kid using the toilet on the toilet'. How many words end with the letter 't' in the sentence.

SOLUTION:
2