Input: Sentence: 'A roman numeral clock above a door to a building'. Count the number of nouns in this sentence.
Output: 3