Input: Sentence: 'Solemn military men look on as the plaque is presented'. Count the number of nouns in this sentence.
Output: 2