Input: Sentence: 'A traffic sign sits in the foreground of a line of row houses'. Count the number of nouns in this sentence.
Output: 6