Input: Sentence: 'There is a line of blue umbrellas on a beach'. Count the number of nouns in this sentence.
Output: 3