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.

[EX Q]: Sentence: 'two teddy bears in a windowsill with a small kitten looking at them'. How many words end with the letter 'a' in the sentence.
[EX A]: 2

[EX 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.
[EX A]: 3

[EX Q]: Sentence: 'a bird is perched on top of a branch with many leaves'. How many words end with the letter 'a' in the sentence.
[EX A]:
2