TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a brown bear walks through the shade of many trees'. Count the occurrences of the word 'bear' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a pizza is on a cooling rack on a counter'. Count the occurrences of the word 'on' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a boy holding onto a wii mote by a fireplace'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3