use `total_entries` in page_entries_info() consistently

Fixes #278, fixes #284, fixes #207