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.
--------
Question: Sentence: 'a messy bed sitting under a lit up ceiling fan'. How many words end with the letter 'n' in the sentence.

Answer: 1


Question: Sentence: 'a plate of food on a table'. How many words end with the letter 'd' in the sentence.

Answer: 1


Question: Sentence: 'an employee stands in the open doorway of a passenger train'. How many words end with the letter 'n' in the sentence.

Answer:
4