Task: Program Execution
Input (English): Sentence: 'a bed with a pillow a lamp and a backpack'. Count the occurrences of the word 'with' in the given sentence.
Output (English): 1