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

[Q]: Sentence: 'a woman walking a large brown dog next to a tennis ball'. Count the occurrences of the word 'a' in the given sentence.
[A]: 3


[Q]: Sentence: 'a man in black shirt playing a game with a nintendo wii controller'. Count the occurrences of the word 'a' in the given sentence.
[A]: 3


[Q]: Sentence: 'a black and white photograph of a white man with a large tie'. Count the occurrences of the word 'black' in the given sentence.
[A]:
1