Input: Sentence: 'Two dogs walking down a street side by side'. Count the number of nouns in this sentence.
Output: 4