Input: Sentence: 'Two pieces of pizza with lasagna toppings on a plate'. Count the number of nouns in this sentence.
Output: 5