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 highway sign showing youve entered the state of virginia'. How many words end with the letter 'a' in the sentence.

SOLUTION: 2

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: 'yachts of different sizes sit in a crowded marina'. How many words end with the letter 's' in the sentence.

SOLUTION:
2