Task: Program Execution
Input (English): Sentence: 'two cats are laying on a bed one cat is in the foreground and staring at the camera while the other cat sleeps in the background'. Count the occurrences of the word 'the' in the given sentence.
Output (English): 4