Input: Sentence: 'Several black suitcases are piled on top of each other'. Count the number of nouns in this sentence.
Output: 2