In this task, you need to count the occurrences of the given word in the given sentence.
--------
Question: Sentence: 'a person on a sandy beach throwing a frisbee'. Count the occurrences of the word 'a' in the given sentence.

Answer: 3

Question: Sentence: 'a picture of a vase with pink flowers in it'. Count the occurrences of the word 'a' in the given sentence.

Answer: 2

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

Answer:
1