TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a small girl in a black top is at a blue table and is eating'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a brown bear walks through the shade of many trees'. Count the occurrences of the word 'bear' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a layer of fabric with a pincushion and a pair of scissors'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3