In this task, you need to count the occurrences of the given word in the given sentence.
--------
Question: Sentence: 'a small bird perched on a branch in a tree'. Count the occurrences of the word 'a' in the given sentence.

Answer: 3


Question: Sentence: 'a young boy preparing his baseball mitt before his game'. Count the occurrences of the word 'his' in the given sentence.

Answer: 2


Question: Sentence: 'a man wearing a tie poses for a picture'. Count the occurrences of the word 'a' in the given sentence.

Answer:
3