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 group of wine bottles is sitting on the counter with a corkscrew'. How many words end with the letter 'w' in the sentence.