In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a slice of pizza that is sitting on a plate on a table'. Count the occurrences of the word 'slice' in the given sentence.