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 man and boy laying in two separate small beds'. How many words end with the letter 'n' in the sentence.

A: 2
****
Q: Sentence: 'pizza and salad are the meals on the trays'. How many words end with the letter 's' in the sentence.

A: 2
****
Q: Sentence: 'the black bears are sleeping on the ground near the fence'. How many words end with the letter 'g' in the sentence.

A:
1
****