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.

Sentence: 'a brown cow walking down a sidewalk near a forest'. How many words end with the letter 'w' in the sentence.
1

Sentence: 'a forked road with some trees and buildings'. How many words end with the letter 'd' in the sentence.
3

Sentence: 'a baseball game with  three players one is throwing a bat'. How many words end with the letter 'a' in the sentence.

2