Input: Sentence: 'Three slices of pizza and many bowls of salad on a table'. Count the number of nouns in this sentence.
Output: 5