You will need to use an SQL query to get the total number of pages in a document, particularly where you haver clipped documents together. Also, Fulltext must be active on the file cabinet as it provides this metric.
Versions up to DocuWare 6.12:
SELECT dwdocid, Sum(pagecount) as totalpages FROM YourTableName_sect group by dwdocid
DocuWare 7:
SELECT docid, Sum(totalpages) as totalpages FROM YourTableName_sec group by docid
Phil Robson
Senior Director Support Americas