Task: Program Execution
Input (English): Sentence: 'a dog in a grassy field has a ball in his mouth'. Count the occurrences of the word 'in' in the given sentence.
Output (English): 2