Input: Sentence: 'An open refrigerator in a home in disrepair'. Count the number of nouns in this sentence.
Output: 3