TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a man with two tennis balls and a racket on a tennis court'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a couple of skis sticking out of a snow covered ground'. Count the occurrences of the word 'of' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a camping bag is lying on a cliff in a rocky place'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3