In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a man in a baseball cap holds a dog in his lap while eating a pizza'. Count the occurrences of the word 'pizza' in the given sentence.