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: 'the sheep are grazing  in the pasture'. How many words end with the letter 'p' in the sentence.
[A]: 1


[Q]: Sentence: 'a red fire hydrant in the white snow'. How many words end with the letter 'e' in the sentence.
[A]: 3


[Q]: Sentence: 'a chili cheese dog sitting on top of a pile of napkins'. How many words end with the letter 'g' in the sentence.
[A]:
2