Input: Sentence: 'Luggage and other bags sitting on the street'. Count the number of nouns in this sentence.
Output: 3