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 man sitting in front of a laptop computer'. How many words end with the letter 'r' in the sentence.
1

Sentence: 'a cat laying on its back while in a cat bed'. How many words end with the letter 's' in the sentence.
1

Sentence: 'a school bus with writings on it and colorful shirts next to it'. How many words end with the letter 't' in the sentence.

3