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 tennis player at the us open walking off the court'. How many words end with the letter 's' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'there is a man that is laying on the floor in the bathroom'. How many words end with the letter 'r' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a passenger train that is pulling into a station'. How many words end with the letter 's' in the sentence.
[EX A]:
1