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 toilet with a white piece of cloth in it'. How many words end with the letter 'f' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'some people standing around one man is wearing a tie'. How many words end with the letter 'a' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'the bed in this room is very messy'. How many words end with the letter 'y' in the sentence.
[EX A]:
2