What is meant by number of pages in Calc?

Under File > Properties > Statistics, “Pages” is listed. Presumably this is the number of pages in the document. But exactly how are pages defined for Calc? I understand that page layouts and styles can be defined, but how that translates into number of pages is not clear to me.

Hello,

This is based on Paper Format selected from Format->Page... on the Page tab. Even changing from Portrait to Landscape can affect the number of pages.

Thank you.

From what I understand, this value, for the document properties, is the total number of pages that would be printed using the current page and printer settings AND assuming all page styles are printable styles.

In other words the total number of pages for all data on all sheets using current printer and page settings.

Thank you.