Input: Sentence: 'this bathroom has a black table and a white animal house'. Count the number of nouns in this sentence.
Output: 4