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 group of people are walking in the city with umbrellas'. How many words end with the letter 'h' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a large plane that is behind another plane on a run way area'. How many words end with the letter 'y' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'some water and some boats are docked'. How many words end with the letter 'r' in the sentence.

SOLUTION:
1