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 close up picture of a flower with water drops on it'. How many words end with the letter 'h' in the sentence.
1

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 man riding a motorcycle on the beach'. How many words end with the letter 'a' in the sentence.

2