Definition: In this task, you need to count the occurrences of the given word in the given sentence.
Input: Sentence: 'a railway crossing sign that warns onlookers to stop'. Count the occurrences of the word 'onlookers' in the given sentence.
Output:
1