TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'two females and one is throwing a yellow frisbee and the other a red one'. Count the occurrences of the word 'yellow' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a colorful photo of a bike against a fence with mountains in the back'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a man in scrubs looking at a computer'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
2