TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a man is holding a camera on a rig while skateboarding in a parking lot'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 4

PROBLEM: Sentence: 'a couple of horses standing on a grass covered field'. Count the occurrences of the word 'on' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a close up of a child at a table with a cake'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
4