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 man and woman happily hug near a river'. How many words end with the letter 'y' in the sentence.
[A]: 1


[Q]: Sentence: 'a person that is riding on a horse in a grass field'. How many words end with the letter 'a' in the sentence.
[A]: 3


[Q]: Sentence: 'a group of planes flying over a beach full of people'. How many words end with the letter 'a' in the sentence.
[A]:
2