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.

[Q]: Sentence: 'a plate has a stack of pancake and a sausage'. How many words end with the letter 's' in the sentence.
[A]: 1


[Q]: Sentence: 'a large herd of elephant wading in a dirty river'. How many words end with the letter 'r' in the sentence.
[A]: 1


[Q]: Sentence: 'a very big pretty beach with some sails in the air'. How many words end with the letter 'r' in the sentence.
[A]:
1