TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a black cat lying in an empty suitcase peers out over the edge of the suitcase'. Count the occurrences of the word 'black' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a man and a dog standing on a dirt path in the woods'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a woman cutting cake while another woman is holding a plate'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
2