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 giraffe some dirt some grass and trees'. How many words end with the letter 's' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'a woman looks at a glass of wine'. How many words end with the letter 'f' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'this train stop is very big and has many platforms'. How many words end with the letter 'y' in the sentence.
[EX A]:
2