In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'an advertisement showing a bowl of apples and two small pies'. Count the occurrences of the word 'small' in the given sentence.