Input: Sentence: 'A large brick building with  a clock on it'. Count the number of nouns in this sentence.
Output: 3