Detailed Instructions: In this task, you need to count the occurrences of the given word in the given sentence.
Problem:Sentence: 'a snowboarder in a gray jacket is doing a trick'. Count the occurrences of the word 'a' in the given sentence.
Solution:
3