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 scarecrow is in the garden with no head'. How many words end with the letter 'a' in the sentence.
1

Sentence: 'a pizza sitting on top of a white plate'. How many words end with the letter 'a' in the sentence.
3

Sentence: 'a man kneeling down next to a motorcycle in a white room'. How many words end with the letter 'n' in the sentence.

3