Input: Sentence: 'Several baggage trolleys are lined up near loading'. Count the number of nouns in this sentence.
Output: 3