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: 'a green fire hydrant at the corner of an intersection'. How many words end with the letter 'e' in the sentence.
[A]: 2


[Q]: Sentence: 'a person on a boat with trays of seafood while he sits under a umbrella'. How many words end with the letter 'a' in the sentence.
[A]: 4


[Q]: Sentence: 'a flag on a pole in the snow'. How many words end with the letter 'e' in the sentence.
[A]:
2