In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a sub sandwich looks delicious with all those greens piled on top'. Count the occurrences of the word 'sandwich' in the given sentence.