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: 'many sheep are out in the green grass'. How many words end with the letter 'n' in the sentence.
[A]: 2


[Q]: Sentence: 'a person sitting at a table with a wine glass'. How many words end with the letter 'a' in the sentence.
[A]: 3


[Q]: Sentence: 'looking out from the ruins of a building to dogs in a courtyard'. How many words end with the letter 'm' in the sentence.
[A]:
1