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: 'the sheep are grazing  in the pasture'. How many words end with the letter 'p' in the sentence.
[A]: 1


[Q]: Sentence: 'something round being cooked in a shape of a pancake in a fry pan'. How many words end with the letter 'n' in the sentence.
[A]: 3


[Q]: Sentence: 'a farm yard with grazing animals next to a barn'. How many words end with the letter 't' in the sentence.
[A]:
1