In this task, you need to count the occurrences of the given word in the given sentence.

Example input: Sentence: 'the brown cat sits perched on atop of the bed peering forward'. Count the occurrences of the word 'the' in the given sentence.
Example output: 2
Example explanation: The word 'the' appears two times in the given sentences. So, the answer is 2.
Q: Sentence: 'an old light photo next to a darker version of the same photo'. Count the occurrences of the word 'photo' in the given sentence.
A:
2