Add option to set pagelen / the number of items per page