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 pair of cows are grazing in a field'. How many words end with the letter 'd' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'cat standing on top of a toilet looking out the window'. How many words end with the letter 'e' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'the lines are black and white and run parallel'. How many words end with the letter 'd' in the sentence.
[EX A]:
2