In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'brush in front of a wooden fence behind which is a cow'. Count the occurrences of the word 'fence' in the given sentence.