Input: Sentence: 'A street scene with people standing nearby on the sidewalk'. Count the number of nouns in this sentence.
Output: 4