Input: Sentence: 'A street scene with a dozen pigeons flying toward the ground'. Count the number of nouns in this sentence.
Output: 5