Input: Sentence: 'A man eating a very long hot dog'. Count the number of nouns in this sentence.
Output: 2