Input: Sentence: 'Four small broccoli plants in a brown planter'. Count the number of nouns in this sentence.
Output: 3