TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a horse out in a grassy green field'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

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 girl sits in the dark looking at a laptop with a cellphone in her hand'. Count the occurrences of the word 'in' in the given sentence.

SOLUTION:
2