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: 'black and white photograph with man in black tie and jacket'. How many words end with the letter 'k' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'the yellow earth mover sits in the field in front of the pole'. How many words end with the letter 'n' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a bunch of people stand in the shallow water at the beach'. How many words end with the letter 'h' in the sentence.

SOLUTION:
2