Input: Sentence: 'Double sinks in a bathroom are a double treat for homeowners'. Count the number of nouns in this sentence.
Output: 4