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 woman is holding a tennis racket on a court'. Count the occurrences of the word 'a' in the given sentence.

Answer: 3


Question: Sentence: 'there are two luggages on a red carpet or floor'. Count the occurrences of the word 'a' in the given sentence.

Answer:
1