Input: Sentence: 'A wooden wardrobe sitting next to a black trunk'. Count the number of nouns in this sentence.
Output: 2