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 brown cow walking down a sidewalk near a forest'. How many words end with the letter 'w' in the sentence.
[A]: 1


[Q]: Sentence: 'an automobile is riding in a train car'. How many words end with the letter 'e' in the sentence.
[A]: 1


[Q]: Sentence: 'a group of giraffes reach their necks down to the grass'. How many words end with the letter 'p' in the sentence.
[A]:
1