Input: Sentence: 'These bowls and vases are stacked neatly on these shelves'. Count the number of nouns in this sentence.
Output: 3