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 dog running behind three sheep in an open field'. How many words end with the letter 'n' in the sentence.
3

Sentence: 'a messy bed sitting under a lit up ceiling fan'. How many words end with the letter 'n' in the sentence.
1

Sentence: 'there is a bed with a mattress on it and a bed with just springs on it'. How many words end with the letter 't' in the sentence.

3