Input: Sentence: 'A clock tower atop a tall building with a lighting rod'. Count the number of nouns in this sentence.
Output: 5