Input: Sentence: 'there is a green clock in the street'. Count the number of nouns in this sentence.
Output: 2