Input: Sentence: 'A view of an elaborate old building and a clock tower is taken from across the river at twilight'. Count the number of nouns in this sentence.
Output: 6