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

Sentence: 'a baseball player holding a bat while playing a game'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a person jumping in the air on a skateboard'. Count the occurrences of the word 'a' in the given sentence.
2

Sentence: 'a male with short hair is looking out of a trains window'. Count the occurrences of the word 'a' in the given sentence.

2