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: 'an image of a man in a suit standing next to a cow'. Count the occurrences of the word 'image' in the given sentence.
1

Sentence: 'the person is taking a picture in the mirror while riding in the car'. Count the occurrences of the word 'the' in the given sentence.

3