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

Sentence: 'a room with a blue rug and various appliances on a dresser'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a tv sitting on a patch of grass next to a pole'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a man sitting on the back of an elephant sitting on the ground reaching for the man with its trunk'. Count the occurrences of the word 'the' in the given sentence.

3