In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a sandwich sits on a plate with pickle slices and sauerkraut'. Count the occurrences of the word 'slices' in the given sentence.