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: 'several jockeys ride their horses in a horse race'. How many words end with the letter 'r' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a kitchen that has a shower and toilet'. How many words end with the letter 's' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a man eating carrots and an apple wearing a horse mask'. How many words end with the letter 'a' in the sentence.
[EX A]:
2