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: 'this bathroom has a washing machine in it'. How many words end with the letter 'a' in the sentence.
[A]: 1


[Q]: Sentence: 'a pizza sitting on top of a white plate'. How many words end with the letter 'a' in the sentence.
[A]: 3


[Q]: Sentence: 'a horse drawn carriage with passengers in the city'. How many words end with the letter 'e' in the sentence.
[A]:
3