Input: Sentence: 'A marina area full of boats lined in rows'. Count the number of nouns in this sentence.
Output: 4