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

Example Input: Sentence: 'a black and white photo of an airplane being loaded'. Count the occurrences of the word 'of' in the given sentence.
Example Output: 1

Example Input: Sentence: 'hotdogs and buns grilling on a charcoal grill'. Count the occurrences of the word 'grilling' in the given sentence.
Example Output: 1

Example Input: Sentence: 'some baseball players on a field playing baseball'. Count the occurrences of the word 'baseball' in the given sentence.
Example Output:
2