Input: Sentence: 'A fruit stand has a variety of goods and customers'. Count the number of nouns in this sentence.
Output: 5