TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a cat standing next to a computer keyboard'. Count the occurrences of the word 'to' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'black and white photo of a person with an umbrella on a dock'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'brush in front of a wooden fence behind which is a cow'. Count the occurrences of the word 'fence' in the given sentence.

SOLUTION:
1