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

Sentence: 'a dog stares into a camera inside of a car'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a small train engine pulling a freight car'. Count the occurrences of the word 'a' in the given sentence.
2

Sentence: 'a little girl on a bed with a teddy bear is playing a video game'. Count the occurrences of the word 'a' in the given sentence.

4