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.

Q: Sentence: 'a small shelf in front of a mirror with an apple and cosmetics on it'. How many words end with the letter 'n' in the sentence.

A: 3
****
Q: Sentence: 'some lounge chairs are arranged on the sandy beach'. How many words end with the letter 'e' in the sentence.

A: 4
****
Q: Sentence: 'a bunch of boats sit docked on a body of water'. How many words end with the letter 'd' in the sentence.

A:
1
****