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

Sentence: 'a chair in a corner next to a lampwith pictures behind it on a wall'. Count the occurrences of the word 'a' in the given sentence.
4

Sentence: 'a big rig is driving through a construction site'. Count the occurrences of the word 'big' in the given sentence.
1

Sentence: 'people are petting a horse that has a cop riding it'. Count the occurrences of the word 'a' in the given sentence.

2