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 person taking of photo of herself while looking in the mirror'. How many words end with the letter 'e' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'the view down a street at sunset with two cars stopped at a red light'. How many words end with the letter 'w' in the sentence.

SOLUTION:
1