TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a bucket is sitting on the floor of a bathroom'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a man eats food at a bench in front of a boat'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a table with plates jugs glasses bowls and cups'. Count the occurrences of the word 'table' in the given sentence.

SOLUTION:
1