Input: Sentence: 'Metal signs on two sides of a building'. Count the number of nouns in this sentence.
Output: 4