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 couple of white sinks are in a restroom'. How many words end with the letter 'n' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a shower over a bath tub and a toilet'. How many words end with the letter 'b' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'bowls contain carrots and another vegetable as they sit by a flower pot and two cabbages'. How many words end with the letter 'd' in the sentence.

SOLUTION:
2