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 commuter train running under a bridge along urban tracks'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a man sitting in front of a laptop while a standing man looks at the screen'. Count the occurrences of the word 'front' in the given sentence.

SOLUTION:
1