In this task, you need to count the occurrences of the given word in the given sentence.
--------
Question: Sentence: 'a man with a long grey beard in a white shirt and green tie at a pub full of greenshirted patrons'. Count the occurrences of the word 'a' in the given sentence.

Answer: 4


Question: Sentence: 'a red yellow and white firetruck and some trees smoke and fire'. Count the occurrences of the word 'and' in the given sentence.

Answer: 3


Question: Sentence: 'a brown cow standing in a field next to a forest'. Count the occurrences of the word 'a' in the given sentence.

Answer:
3