Input: Sentence: 'Traffic signal for saying walk on Greene St'. Count the number of nouns in this sentence.
Output: 2