Input: Sentence: 'Two signs in the grass outside a building'. Count the number of nouns in this sentence.
Output: 3