TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'picture of a tab tub where the wall is open exposing wood studs and a shop vacuum is in the tub'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a parked silver subway train next to a platform'. Count the occurrences of the word 'next' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a flock of ducks swimming in a body of water'. Count the occurrences of the word 'of' in the given sentence.

SOLUTION:
2