In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'two females sitting outside with two dogs near a clock on a pole'. Count the occurrences of the word 'two' in the given sentence.