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: 'young man in catchers gear playing baseball on a sunny day'. How many words end with the letter 'y' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a plate of food with broccoli meat and white rice with a sauce over it'. How many words end with the letter 'e' in the sentence.

SOLUTION: 4

PROBLEM: Sentence: 'an action shot of a man with a tennis racket and a tennis ball in air in front of him at a fenced in tennis court outside with a shed and a lodge behind'. How many words end with the letter 'h' in the sentence.

SOLUTION:
2