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 person doing a trick on a skateboard on a ramp'. How many words end with the letter 'g' in the sentence.
[A]: 1


[Q]: Sentence: 'cat standing on top of a toilet looking out the window'. How many words end with the letter 'e' in the sentence.
[A]: 1


[Q]: Sentence: 'several young people are enjoying a concert and recording via phones'. How many words end with the letter 'g' in the sentence.
[A]:
3