Add a batch size field for collections
Avoid pagination if the batch size is egal to the limit of results