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 pair of skiers stare into the trees'. How many words end with the letter 'o' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a brown bear swimming in water next to tree trunk'. How many words end with the letter 'g' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'an open green pasture holding two horses and sparse trees'. How many words end with the letter 'n' in the sentence.

SOLUTION:
3

