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 view out the window of a passenger jet airplane below are some snow capped mountains'. How many words end with the letter 'w' in the sentence.

SOLUTION: 4

PROBLEM: Sentence: 'looking at the airplane wing and the ground below'. How many words end with the letter 'd' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a person riding on top of a board on green grass'. How many words end with the letter 'n' in the sentence.

SOLUTION:
4