Definition: In this task, you need to count the number of nouns/verbs in the given sentence.
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