Input: Sentence: 'A series of photographs showing an adorable white dog and lots of yellow fire hydrants'. Count the number of nouns in this sentence.
Output: 6