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: 'the group of people is riding on the back of the truck'. How many words end with the letter 'e' in the sentence.
4

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 messy office desk with a cat laying next to the keyboard'. How many words end with the letter 'a' in the sentence.

2