TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'the table in the apartment is set for two to have cake and a doll is seated in one chair'. Count the occurrences of the word 'is' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a picture with a keyboard pen and other things some shown larger with pictures on the side of the big picture'. Count the occurrences of the word 'picture' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a giraffe drinking water from a river next to a bush'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3