Input: Sentence: 'Two sinks and some cupboards in a bathroom'. Count the number of nouns in this sentence.
Output: 3