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.

Sentence: 'a wild bear walking over some logs in the forest'. How many words end with the letter 'n' in the sentence.
1

Sentence: 'a woman in a hat sitting on a wooden bench'. How many words end with the letter 'n' in the sentence.
4

Sentence: 'an older male is standing in the room of a house with what appears to be a wii controller in his hand'. How many words end with the letter 'r' in the sentence.

2