Input: Sentence: 'Several people walking outside dressed warmly and with rain gear'. Count the number of nouns in this sentence.
Output: 3