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 snowboarder on the ground after a fall'. How many words end with the letter 'r' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'the woman is wearing a mans shirt and tie on the couch'. How many words end with the letter 'e' in the sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a very nice looking motorcycle near a building'. How many words end with the letter 'r' in the sentence.

SOLUTION:
1