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 cabinet in a kitchen that has been left open'. How many words end with the letter 'n' in the sentence.
4

Sentence: 'a small bathroom with a toilet vanity and bath tub'. How many words end with the letter 'h' in the sentence.
2

Sentence: 'a man in a tie is cooking hotdogs on a grill'. How many words end with the letter 'n' in the sentence.

3