Input: Sentence: 'A house being renovated with a room connected to a kitchen has the floor removed'. Count the number of nouns in this sentence.
Output: 4