Input: Sentence: 'A tall clock tower flanked by two trees'. Count the number of nouns in this sentence.
Output: 3