TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a tennis player is waiting to compete on a tennis court'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a man is holding a camera on a rig while skateboarding in a parking lot'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 4

PROBLEM: Sentence: 'a guy leaning against a pole talking to another man and a lady sitting on a pole talking on her phone'. Count the occurrences of the word 'talking' in the given sentence.

SOLUTION:
2