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: 'two trains pass over the tracks over a river'. How many words end with the letter 'o' in the sentence.
[A]: 1


[Q]: Sentence: 'well dressed young businessman walking in empty parking lot'. How many words end with the letter 'y' in the sentence.
[A]:
1