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: 'the woman is wearing a mans shirt and tie on the couch'. How many words end with the letter 'e' in the sentence.
[A]: 3


[Q]: Sentence: 'a brown bear swimming in water next to tree trunk'. How many words end with the letter 'g' in the sentence.
[A]: 1


[Q]: Sentence: 'a bedroom with a large bed and a baby crib'. How many words end with the letter 'm' in the sentence.
[A]:
1