TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a street sign hanging from a pole that reads hampsire under a dark sky'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a group of guys playing a game of frisbee'. Count the occurrences of the word 'of' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a woman pushing the stroller is walking down the street'. Count the occurrences of the word 'the' in the given sentence.

SOLUTION:
2