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 man in a baseball uniform who is swinging a bat'. How many words end with the letter 'a' in the sentence.
3

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 black and white photo of people on the beach'. How many words end with the letter 'f' in the sentence.

1