In this task, you need to count the occurrences of the given word in the given sentence.

Sentence: 'a road with parked cars on both sides of the street and houses on the street'. Count the occurrences of the word 'the' in the given sentence.
2

Sentence: 'a parked silver subway train next to a platform'. Count the occurrences of the word 'next' in the given sentence.
1

Sentence: 'a horse out in a grassy green field'. Count the occurrences of the word 'a' in the given sentence.

2