Use raw_page_count instead of page_count for raw text extraction. Some documents have different page numbers in accurate and raw text extraction modes. The page_count property may perform extra calculations that impact text extraction speed in raw mode.