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

Sentence: 'a zebra in the wild walking towards a dirt road'. Count the occurrences of the word 'a' in the given sentence.
2

Sentence: 'a man and a dog standing on a dirt path in the woods'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a birthday cake decorated with plastic animals and green frosting for grass and a picture'. Count the occurrences of the word 'and' in the given sentence.

2