In this task, you need to count the occurrences of the given word in the given sentence.

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.
2

Sentence: 'a desk with a laptop next to a cutting board'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a bed with a pillow a lamp and a backpack'. Count the occurrences of the word 'with' in the given sentence.

1