Input: Sentence: 'A white toilet and a sink in a room'. Count the number of nouns in this sentence.
Output: 3