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 black bear eating a carrot on top of rocks'. How many words end with the letter 'r' in the sentence.

A: 1
****
Q: Sentence: 'a boy is riding a skateboard off of a ramp'. How many words end with the letter 's' in the sentence.

A: 1
****
Q: Sentence: 'a big clock on top of a big strange structure'. How many words end with the letter 'g' in the sentence.

A:
2
****