In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'the horse and rider are jumping over the hurdles in the race'. Count the occurrences of the word 'the' in the given sentence.