TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'two cats are walking on wood near a trash can'. Count the occurrences of the word 'are' in the given sentence.

SOLUTION: 1

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

SOLUTION: 3

PROBLEM: Sentence: 'vegetables are cooking in a pot on top of a stove'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
2