In this task, you need to count the occurrences of the given word in the given sentence.

[Q]: 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.
[A]: 4

[Q]: Sentence: 'a red passenger bus drives down a busy road'. Count the occurrences of the word 'a' in the given sentence.
[A]: 2

[Q]: Sentence: 'the cat is perched on the chair in the living room'. Count the occurrences of the word 'the' in the given sentence.
[A]:
3