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: 'there is a small truck that has stopped in the dirt'. How many words end with the letter 's' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a man loading a truck with two pieces of luggage'. How many words end with the letter 'a' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'an oval white dinner plate has a crispy chicken or fish sandwich with tomato and lettuce and a side of coleslaw'. How many words end with the letter 'r' in the sentence.

SOLUTION:
2