TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a home office features full bookcase a laptop and a red leather chair'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'girl standing in front of an elephant in a dirt lot'. Count the occurrences of the word 'dirt' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a woman with a bag sitting with some suitcases'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
2