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: 'outdoor market with tables and red umbrellas on rainy day'. How many words end with the letter 'd' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'there are three people riding a trolly up a snow mountain'. How many words end with the letter 'e' in the sentence.

SOLUTION: 4

PROBLEM: Sentence: 'a small stuffed bear in a little red sweater'. How many words end with the letter 'a' in the sentence.

SOLUTION:
2