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: 'an airplane parked inside an airplane hangar at night'. How many words end with the letter 'e' in the sentence.
3

Sentence: 'four bowls two containing veggies fruits  and a pasta dish with a fifth container of salad dressing'. How many words end with the letter 'r' in the sentence.
2

Sentence: 'a train on a train track with trees in the background'. How many words end with the letter 'a' in the sentence.

2