In this task, you need to count the occurrences of the given word in the given sentence.
--------
Question: Sentence: 'a child laying on a bed with his head hanging up side down and a teddy bear leaning against the bed'. Count the occurrences of the word 'a' in the given sentence.

Answer: 3


Question: Sentence: 'a man and a woman in a spare living room space standing far apart from each other'. Count the occurrences of the word 'a' in the given sentence.

Answer: 3


Question: Sentence: 'a living room with chairs and a fireplace and a stair case'. Count the occurrences of the word 'and' in the given sentence.

Answer:
2