Input: Sentence: 'Traffic warning sign framed by a commercial building in the background'. Count the number of nouns in this sentence.
Output: 5