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

Q: Sentence: 'a herd of goats look at a dog through a fence'. Count the occurrences of the word 'a' in the given sentence.

A: 3
****
Q: Sentence: 'a bowl of soup on a white table in front of vegetables'. Count the occurrences of the word 'of' in the given sentence.

A: 2
****
Q: Sentence: 'a bath room wit ha sink and a bath tub'. Count the occurrences of the word 'a' in the given sentence.

A:
2
****