In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a pasture filled with horses grazing in it'. Count the occurrences of the word 'filled' in the given sentence.