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 bed has been made with a thin blanket that matches a pillow'. How many words end with the letter 'h' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'the town has decorated the streets for the holiday'. How many words end with the letter 's' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'the puppy is standing on the carpet near the packed luggage'. How many words end with the letter 'r' in the sentence.

SOLUTION:
1