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 man on skis stands on some snow'. How many words end with the letter 'n' in the sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a white motorcycle is next to a store front that says macau welcomes you'. How many words end with the letter 's' in the sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a person wearing blue jeans holding a cellphone near their leg'. How many words end with the letter 'n' in the sentence.

SOLUTION:
1