TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a table top with some laptops on it'. Count the occurrences of the word 'with' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a man in a yellow sweater standing in the middle of a room'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a black and white image of an old castle with a clock'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
2