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

Example Input: Sentence: 'a bath room with a bath tub and a mirror'. Count the occurrences of the word 'bath' in the given sentence.
Example Output: 2

Example Input: Sentence: 'a gray bird about to perch on a branch'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 2

Example Input: Sentence: 'some people on some grass playing frisbee and some trees'. Count the occurrences of the word 'some' in the given sentence.
Example Output:
3