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 bird perched on a park bench as a cat hides underneath'. How many words end with the letter 'h' in the sentence.
[A]: 2


[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 funny dog is lounging on his owners bed'. How many words end with the letter 'y' in the sentence.
[A]:
1