Input: Sentence: 'A gray cylindrical tank on a flat orange rail car, a ladder draped on its side'. Count the number of nouns in this sentence.
Output: 5