Is there a way to schedule out all the rooms within a area so that i can import in to excel to for apartment area compliance and see how many rooms are in each unit?

I have started to use these node examples that I found on other websites but i am struggling to get it to work , can anyone help please ?