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.

[EX Q]: Sentence: 'a man swings his racket and hits a tennis ball'. How many words end with the letter 'n' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a man and woman happily hug near a river'. How many words end with the letter 'y' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a couple of boats sit parked by a dock'. How many words end with the letter 'f' in the sentence.
[EX A]:
1