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 person showing a selfie of themself to the camera'. Count the occurrences of the word 'a' in the given sentence.
2

Sentence: 'a number of seagulls converge in the sand near a body of water'. Count the occurrences of the word 'a' in the given sentence.

2