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: 'this is a man taking a picture with a girl'. How many words end with the letter 'l' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'the young girl is trying to prepare a meal in the kitchen'. How many words end with the letter 'o' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'people sitting on benches in a park with a man wearing a medical mask'. How many words end with the letter 'g' in the sentence.

SOLUTION:
2