TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'an image of a man in a suit standing next to a cow'. Count the occurrences of the word 'image' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a cat sitting near a window looking at a squirrel eating'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'photos show different moves and techniques in tennis'. Count the occurrences of the word 'tennis' in the given sentence.

SOLUTION:
1