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 ceiling fan a light some chairs and a stove'. How many words end with the letter 'a' in the sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a baby sitting on a baby reaching for a laptop'. How many words end with the letter 'a' in the sentence.

SOLUTION: 3

PROBLEM: Sentence: 'an adult elephant and a baby elephant are standing next to each other looking through a fence'. How many words end with the letter 'g' in the sentence.

SOLUTION:
2