TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a man standing on top of a skateboard on top of cement'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a bear standing on top a piece of pipe with a chain attached'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a lady petting her dog and a man standing on a log'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3