Input: Sentence: 'The post on the street has a clock displayed'. Count the number of nouns in this sentence.
Output: 3