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 mirror hangs from the ceiling of a large room'. How many words end with the letter 'a' in the sentence.
[A]: 2


[Q]: Sentence: 'a distant view of a surfer riding the ocean waves'. How many words end with the letter 'a' in the sentence.
[A]: 2


[Q]: Sentence: 'a flock of sheep are standing in the snow'. How many words end with the letter 'p' in the sentence.
[A]:
1