Input: Sentence: 'A smiling young man adjusts a necktie he's wearing'. Count the number of nouns in this sentence.
Output: 2