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 person watching television showing a big bird on the screen'. Count the occurrences of the word 'screen' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a man riding a skateboard performing a trick'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3