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

[EX Q]: Sentence: 'a black train is on a train track near some foothills'. Count the occurrences of the word 'a' in the given sentence.
[EX A]: 2

[EX Q]: Sentence: 'some baseball players on a field playing baseball'. Count the occurrences of the word 'playing' in the given sentence.
[EX A]: 1

[EX Q]: Sentence: 'a red blanketed bed covered in papers and a computer'. Count the occurrences of the word 'a' in the given sentence.
[EX A]:
2