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.

Q: Sentence: 'a man riding a wave on a white surfboard'. How many words end with the letter 'e' in the sentence.

A: 2
****
Q: Sentence: 'a messy bed sitting under a lit up ceiling fan'. How many words end with the letter 'n' in the sentence.

A: 1
****
Q: Sentence: 'blue and yellow passenger train going through the inside of a tree'. How many words end with the letter 'e' in the sentence.

A:
4
****