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

Sentence: 'a dog is sleeping in a bed underneath a desk'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a young boy in traditional clothing holding a fan and a cell phone'. Count the occurrences of the word 'boy' in the given sentence.
1

Sentence: 'only the blurred legs of a baseball player and a bat can be seen'. Count the occurrences of the word 'a' in the given sentence.

2