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

Example Input: Sentence: 'giraffe with front legs spread looking at water'. Count the occurrences of the word 'legs' in the given sentence.
Example Output: 1

Example Input: Sentence: 'a bridge on a river with a city in the skyline'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 3

Example Input: Sentence: 'a young boy barefoot holding an umbrella touching the horn of a cow'. Count the occurrences of the word 'touching' in the given sentence.
Example Output:
1