instead of asking for a max_count, max count could be assumed to be 1000 (seems to be rpc default) and then just fetch all pages directly