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: 'two men wearing ties and dress pants stand in front of a doorway'. How many words end with the letter 'g' in the sentence.
[A]: 1


[Q]: Sentence: 'a group of young adults is playing frisbee in a field'. How many words end with the letter 'p' in the sentence.
[A]: 1


[Q]: Sentence: 'a dog is laying in the grass by a frisbee'. How many words end with the letter 's' in the sentence.
[A]:
2