Input: Sentence: 'The rows of bananas on the shelf have a price sign nearby'. Count the number of nouns in this sentence.
Output: 5