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: 'the view of a old bathroom with no shower curtain'. How many words end with the letter 'm' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a girl writing on a piece of paper on a table full of bunches of bananas'. How many words end with the letter 'l' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a kitchen area with toilet and various cleaning appliances'. How many words end with the letter 'g' in the sentence.

SOLUTION:
1