Input: Sentence: 'A deep dish pizza sitting on top of a table next to a spatula'. Count the number of nouns in this sentence.
Output: 5