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: 'his is a restaurant with workers preparing food'. How many words end with the letter 'a' in the sentence.
1

Sentence: 'people sitting around a table drinking from coconuts'. How many words end with the letter 'g' in the sentence.
2

Sentence: 'a man performs a trick on a skateboard while others watch'. How many words end with the letter 's' in the sentence.

2