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 dog looking up at a person with a frisbee at their feet'. How many words end with the letter 'n' in the sentence.
[A]: 1


[Q]: Sentence: 'a baseball player jumps towards a base before the other player catches the ball'. How many words end with the letter 'e' in the sentence.
[A]: 4


[Q]: Sentence: 'some giraffes dirt trees fence and a building'. How many words end with the letter 'd' in the sentence.
[A]:
1