Input: Sentence: 'A clock tower on the front of a building with a sun dial'. Count the number of nouns in this sentence.
Output: 6