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 group of people are sitting around a table eating cake'. How many words end with the letter 'a' in the sentence.
2

Sentence: 'a dozen glazed doughnuts with different patterns in a box'. How many words end with the letter 'n' in the sentence.
2

Sentence: 'there are many cows on a farm next to a freeway'. How many words end with the letter 'a' in the sentence.

2