TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a cat that is laying down on a bed'. Count the occurrences of the word 'is' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a skate park with a young man on a skate board going down a concrete beam'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 4

PROBLEM: Sentence: 'a group of ducks wading near a boat in the water'. Count the occurrences of the word 'near' in the given sentence.

SOLUTION:
1