Task: Program Execution
Input (English): Sentence: 'the dog and the book are lying on the bed'. Count the occurrences of the word 'the' in the given sentence.
Output (English): 3