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 woman in a dress beneath a ladder holding an umbrella'. How many words end with the letter 'n' in the sentence.

SOLUTION: 3

PROBLEM: Sentence: 'five sheep on a hill eating grass overlooking the ocean'. How many words end with the letter 'g' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a portion of a bath tub and a white robe hanging up on a hook a white shower and shelves that have towels and toiletries'. How many words end with the letter 's' in the sentence.

SOLUTION:
3