In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'twin beds in a motel room with table and chairs'. Count the occurrences of the word 'with' in the given sentence.