Input: Sentence: 'A white bathroom has a pink tub and sink'. Count the number of nouns in this sentence.
Output: 2