In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a man standing next to a street market with two people next to  a building'. Count the occurrences of the word 'to' in the given sentence.