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 batter trying to get out the way of a pitched ball'. How many words end with the letter 't' in the sentence.
2

Sentence: 'a bakery with a display tray of cupcakes decorated and labeled'. How many words end with the letter 'y' in the sentence.
3

Sentence: 'the school bus is waiting in front of the large school'. How many words end with the letter 's' in the sentence.

2