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: 'several type of vegetables and greens sitting on a table'. How many words end with the letter 'g' in the sentence.
[A]: 1


[Q]: Sentence: 'there is a man with his hands in his lap'. How many words end with the letter 'p' in the sentence.
[A]: 1


[Q]: Sentence: 'three people sitting on bench watching a train go by'. How many words end with the letter 'n' in the sentence.
[A]:
2