Input: Sentence: 'Two people walk down an city sidewalk carrying umbrellas'. Count the number of nouns in this sentence.
Output: 4