In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a white and black horse with a black horse behind it'. Count the occurrences of the word 'horse' in the given sentence.