Limit in filter query

What is the feature?

Add a limit to the filter query. That means if you make a filter query it should be possible to define how many rows should be returned in maximum. This is good to apply a bulk action to all these entries.

What problem does this solve for you?

We need to disable the oldest X entries of a collection. We created a smart action which disables the entry. With the limit, it would be possible to define a query with how many entries we want to disable.
Than we could “select all records” and apply the query to all the records returned by the query

Please let me know if there is a similar feature already available.