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 large herd of elephant wading in a dirty river'. How many words end with the letter 'r' in the sentence.
[EX A]: 1

[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: 'a plate with bread meat and broccoli on it next to a bowl of chili'. How many words end with the letter 'i' in the sentence.
[EX A]:
2