TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a woman sits on a bed while using a laptop'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a small child laying in a bed next to a shelf'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a train on a train track next to a concrete platform'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3