Deal with redundant SELECT COUNT(*), add an option to not compute count at all

Also slightly more restrictive "page" argument error checking.