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: 'a black car is near someone riding a bike'. How many words end with the letter 'e' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'there are three people riding a trolly up a snow mountain'. How many words end with the letter 'e' in the sentence.
[EX A]: 4

[EX Q]: Sentence: 'a sausage and cheese sandwich on top of a plate'. How many words end with the letter 'p' in the sentence.
[EX A]:
1