Input: Sentence: 'A woman with red hair wearing a uniform eats a hot dog'. Count the number of nouns in this sentence.
Output: 4