Input: Sentence: 'two slices of pizza sit on a white plate'. Count the number of nouns in this sentence.
Output: 3