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 man swings his racket and hits a tennis ball'. How many words end with the letter 'n' in the sentence.
1

Sentence: 'some bicycle riders are crossing a street'. How many words end with the letter 't' in the sentence.
1

Sentence: 'this refrigerator has both doors open and seems to be mostly empty'. How many words end with the letter 'n' in the sentence.

1