Input: Sentence: 'a person eating a hot dog next to other people'. Count the number of nouns in this sentence.
Output: 3