Input: Sentence: 'A sign with some buildings in the background'. Count the number of nouns in this sentence.
Output: 3