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 shirtless skateboarder doing tricks on his board'. How many words end with the letter 's' in the sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a large herd of elephant wading in a dirty river'. How many words end with the letter 'r' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'theres a giant bunny behind a man brushing his teeth'. How many words end with the letter 'g' in the sentence.

SOLUTION:
1