Input: Sentence: 'An open Swiss army knife with multiple attachments'. Count the number of nouns in this sentence.
Output: 3