Task: Program Execution
Input (English): Sentence: 'children sitting at a table with paper hats on their heads'. Count the occurrences of the word 'heads' in the given sentence.
Output (English): 1