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

Sentence: 'a brown dog sitting in front of a tv in a room'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a cat standing next to a computer keyboard'. Count the occurrences of the word 'to' in the given sentence.
1

Sentence: 'a woman putting on stockings in her bedroom'. Count the occurrences of the word 'stockings' in the given sentence.

1