TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a red traffic light at a snowy corner with christmas lights in the distance'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a small child laying in a bed next to a shelf'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'lots of colorful watercraft parked at a large body of water'. Count the occurrences of the word 'of' in the given sentence.

SOLUTION:
2