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 distant view of a surfer riding the ocean waves'. How many words end with the letter 'a' in the sentence.

Answer: 2


Question: Sentence: 'man displaying culinary skills using knife on vegetables'. How many words end with the letter 'n' in the sentence.

Answer: 2


Question: Sentence: 'a man riding on top of a surfboard on a wave'. How many words end with the letter 'n' in the sentence.

Answer:
3