In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'the tower of a tail building with a flag on the roof and a clock on the upper floor'. Count the occurrences of the word 'the' in the given sentence.