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: 'boat moving out on water with light house at end of wharf'. How many words end with the letter 'f' in the sentence.
2

Sentence: 'a dog running behind three sheep in an open field'. How many words end with the letter 'n' in the sentence.
3

Sentence: 'a messy room painted green with debris on the ground and birds appear to be in the room'. How many words end with the letter 'm' in the sentence.

2