Task: Program Execution
Input (English): Sentence: 'a bird flying over the beach as a wave hits the rocks'. Count the occurrences of the word 'the' in the given sentence.
Output (English): 2