Input: Sentence: 'A street with a statue in the middle of a man holding two lights'. Count the number of nouns in this sentence.
Output: 5