Limit outputFormats json

Is there any way to limit the number of items HUGO puts into a custom outputFormat json feed?
We have thousands of files. So it would be nice to limit or paginate the results.