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 plate has a stack of pancake and a sausage'. How many words end with the letter 's' in the sentence.
1

Sentence: 'a glazed donut sits on a plate inbetween a fork and a knife'. How many words end with the letter 'k' in the sentence.
1

Sentence: 'a man kicking a soccer ball in the direction of another player'. How many words end with the letter 'r' in the sentence.

3