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: 'two trains pass over the tracks over a river'. How many words end with the letter 'o' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'many different dishes layed for people to try'. How many words end with the letter 'y' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'a living room with photos on the wall and toys in the corner'. How many words end with the letter 's' in the sentence.
[EX A]:
2