Input: Sentence: 'A row full of parked luggage sitting on the side of a train'. Count the number of nouns in this sentence.
Output: 4