instruction:
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.
question:
Sentence: 'a white toilet in a houses small bathroom'. How many words end with the letter 't' in the sentence.
answer:
1


question:
Sentence: 'a guy on a surf board riding the waves in the ocean'. How many words end with the letter 'g' in the sentence.
answer:
1


question:
Sentence: 'a small living room with a recliner a chair and a sofa'. How many words end with the letter 'r' in the sentence.
answer:

2