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 city bus with hard blue double seats'. How many words end with the letter 's' in the sentence.
2

Sentence: 'pizza and salad are the meals on the trays'. How many words end with the letter 's' in the sentence.
2

Sentence: 'a close up of a cat laying in a bed with sheets'. How many words end with the letter 'p' in the sentence.

1