In this task, you need to count the occurrences of the given word in the given sentence.
--------
Question: Sentence: 'two pictures are hanging on the wall of the bathroom'. Count the occurrences of the word 'the' in the given sentence.

Answer: 2


Question: Sentence: 'the young man is handling the door knob of the cabinet in the apartment'. Count the occurrences of the word 'the' in the given sentence.

Answer: 4


Question: Sentence: 'a bird in a nest on the top of a bell tower'. Count the occurrences of the word 'a' in the given sentence.

Answer:
3