Input: Sentence: 'A residential bathroom with black tile and pink curtains'. Count the number of nouns in this sentence.
Output: 3