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: 'many different dishes layed for people to try'. How many words end with the letter 'y' in the sentence.
[A]: 2


[Q]: Sentence: 'a gentleman playing ball with his daughter in the street'. How many words end with the letter 'a' in the sentence.
[A]: 1


[Q]: Sentence: 'a bench overlooks a harbour with a lighthouse'. How many words end with the letter 'e' in the sentence.
[A]:
1