In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a herd of cattle walking through the snow through the opened fence'. Count the occurrences of the word 'snow' in the given sentence.