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

Sentence: 'a bus waits by a curb next to some trees'. Count the occurrences of the word 'a' in the given sentence.
2

Sentence: 'three different types of clocks next to a  glass filled with champagne'. Count the occurrences of the word 'types' in the given sentence.
1

Sentence: 'a man walks onto a baseball field while a game is in progress'. Count the occurrences of the word 'a' in the given sentence.

3