It is not necessary to turn layers on or off, C3D recognizes them even if they are turned off. So that you know which layer it corresponds to, you must select the layers property

In the next window something like this will appear (The names in the last column correspond to the element's layer)

To get the sum by layers:
With the right mouse button on the "Area" heading, find Combine Record Mode> Sum Values.

As you can see, even the counter is updated, having in the column "Area" the sum by layers. You can also create columns of formulas, which allow you to do operations with the elements of the same row.

Another option is that you add the Total sum of the column "Area",
but to be able to identify the total by layers, you should also insert filters.

Then you configure the rest of the DE windows, until the process is finished.
To Update (if you increase or remove polygons):
If you increase or remove an element that corresponds to any layer (in the example: Layer1 - 3), you can select the table you entered and with the right mouse button select Update Table Data Links. And if you want you can export it to a file type * .csv

If the answer was useful, don't forget to mark it as accepted and give it a like.