What is the Engine's method to find out how many pages count the Engine charges for the currently processed document?
Before you call either the Analyze or Recognize or Process method, add this snippet to retrieve the current pages count of your license:
CSafePtr<ILicense> license = 0;
int currPages = 0;
Then after you call either any of the methods Analyze/Recognize/Process, then call this snippet again
int currPages2 = 0;
int pagesCount = currPages - currPages2; // this will return the pages count that Engine charges for your document