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: 'this bathroom has a washing machine in it'. How many words end with the letter 'a' in the sentence.

A: 1
****
Q: Sentence: 'three adults riding on top of an elephant swimming'. How many words end with the letter 'n' in the sentence.

A: 2
****
Q: Sentence: 'there is a small tv and coffee table in the living room'. How many words end with the letter 'd' in the sentence.

A:
1
****