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 on a tennis court  holding a racket'. How many words end with the letter 'n' in the sentence.
[A]: 2


[Q]: Sentence: 'a smart phone sitting on a cloth next to a battery hooked up to another device'. How many words end with the letter 'a' in the sentence.
[A]: 3


[Q]: Sentence: 'a child sitting on the floor reading a book'. How many words end with the letter 'r' in the sentence.
[A]:
1