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

[EX Q]: Sentence: 'painting of a ship in grass with lighthouse in background'. Count the occurrences of the word 'in' in the given sentence.
[EX A]: 2

[EX Q]: Sentence: 'a horse and a dog facing each other in a brown field of grass'. Count the occurrences of the word 'a' in the given sentence.
[EX A]: 3

[EX Q]: Sentence: 'a young boy with a baseball bat posing in front of a sunset'. Count the occurrences of the word 'a' in the given sentence.
[EX A]:
3