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 pot pit on a plate with a large side of butter and a beer sitting on the table top'. How many words end with the letter 'g' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a black suitcase with handles to help when rolling it around'. How many words end with the letter 'e' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a bed with white linen pillows and sheets is sitting in the middle of the room with a wooden floor'. How many words end with the letter 's' in the sentence.

SOLUTION:
3