Input: Sentence: 'there is a opening on the street of the building n the city'. Count the number of nouns in this sentence.
Output: 4