Task: Program Execution
Input (English): Sentence: 'a photo of a man wearing glasses holding a plate of cake'. Count the occurrences of the word 'man' in the given sentence.
Output (English): 1