In this task, you need to count the occurrences of the given word in the given sentence.
--------
Question: Sentence: 'painting of a ship in grass with lighthouse in background'. Count the occurrences of the word 'in' in the given sentence.

Answer: 2


Question: Sentence: 'a small cat is sitting on a step by a door'. Count the occurrences of the word 'a' in the given sentence.

Answer: 3


Question: Sentence: 'a blue framed mirror mounted on a wall above a desk'. Count the occurrences of the word 'a' in the given sentence.

Answer:
3