Input: Sentence: 'A whole pizza pie with  toppings sitting on a table'. Count the number of nouns in this sentence.
Output: 4