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: 'two people fly a kite on the beach'. How many words end with the letter 'e' in the sentence.
3

Sentence: 'a train riding through tracks in a large train station'. How many words end with the letter 'n' in the sentence.
4

Sentence: 'a partially buried fire hydrant near a tree'. How many words end with the letter 'a' in the sentence.

2