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

Sentence: 'painting of a ship in grass with lighthouse in background'. Count the occurrences of the word 'in' in the given sentence.
2

Sentence: 'a pig in a make shift shelter being watched by a cat'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a person who is in the process of using a laptop'. Count the occurrences of the word 'a' in the given sentence.

2