In this task, you need to count the occurrences of the given word in the given sentence.
--------
Question: Sentence: 'a cake shaped like a baseball bat and a hat'. Count the occurrences of the word 'a' in the given sentence.

Answer: 3


Question: Sentence: 'a truck and a part of a disabled plane'. Count the occurrences of the word 'a' in the given sentence.

Answer: 3


Question: Sentence: 'a collection of vases on a wooden shelf'. Count the occurrences of the word 'a' in the given sentence.

Answer:
2