Name
page_count — Return total number of pages in a database
Common Usage
PRAGMA [database.]page_count;
Description
The page_count pragma returns the current number of
pages in
database
. The page count includes all pages in the file,
including free pages. The size of the database file should be
page_count *
page_size.