Input: Sentence: 'A woman carrying boxes down a brick sidewalk'. Count the number of nouns in this sentence.
Output: 4