In this task, you need to count the occurrences of the given word in the given sentence.
--------
Question: Sentence: 'a small dog wearing a bright red bow tie as a collar'. Count the occurrences of the word 'a' in the given sentence.

Answer: 3


Question: Sentence: 'some brown white black horses dirt a rock and a goat'. Count the occurrences of the word 'a' in the given sentence.

Answer: 2


Question: Sentence: 'the bird is perched on a limb on a tree'. Count the occurrences of the word 'a' in the given sentence.

Answer:
2