Input: Sentence: 'A house has a small staircase and a disconnected refrigerator'. Count the number of nouns in this sentence.
Output: 3