In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'children sitting at a table with paper hats on their heads'. Count the occurrences of the word 'heads' in the given sentence.