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: 'the boy is sitting on a coach holding on to a remote'. How many words end with the letter 'a' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'an automobile is riding in a train car'. How many words end with the letter 'e' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a dog running at the beach close to the ocean waters'. How many words end with the letter 'e' in the sentence.
[EX A]:
3