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.

Sentence: 'a man and woman happily hug near a river'. How many words end with the letter 'y' in the sentence.
1

Sentence: 'a toilet next to a stand up shower with toilet paper near by'. How many words end with the letter 'p' in the sentence.
1

Sentence: 'a subway terminal with passengers and luggage traveling'. How many words end with the letter 'e' in the sentence.

1