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 lone boat in a harbor with a building in back'. How many words end with the letter 'h' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a man on a tennis court  holding a racket'. How many words end with the letter 'n' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'a woman and two teenagers are holding on to a stop sign'. How many words end with the letter 'p' in the sentence.
[EX A]:
1