Input: Sentence: 'The large red stop sign is hanging up'. Count the number of nouns in this sentence.
Output: 2