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.

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

[EX Q]: Sentence: 'a young man riding a skateboard down a sidewalk'. How many words end with the letter 'd' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a person holding a black and white cat'. How many words end with the letter 'a' in the sentence.
[EX A]:
2