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 white cat stretches out on a bed'. How many words end with the letter 't' in the sentence.
[A]: 2


[Q]: Sentence: 'a street scene with four buses lined up on the side of the road'. How many words end with the letter 'p' in the sentence.
[A]: 1


[Q]: Sentence: 'a brown bear swimming in water next to tree trunk'. How many words end with the letter 'g' in the sentence.
[A]:
1