Input: Sentence: 'A man with a blue and white Hawaiian shirt standing next to a statue of a bear and two small girls standing in front of him'. Count the number of nouns in this sentence.
Output: 6