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: 'an elephant crosses a dirt road in front of a white truck'. How many words end with the letter 's' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a crowd of people occupy a busy city street'. How many words end with the letter 'y' in the sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a white and blue plate of food that includes cauliflower and potatoes'. How many words end with the letter 'r' in the sentence.

SOLUTION:
1