Input: Sentence: 'Group of men in safety gear next to a bus with emergency equipment'. Count the number of nouns in this sentence.
Output: 6