Input: Sentence: 'A bathroom inside of a house in a well lighted room'. Count the number of nouns in this sentence.
Output: 3