backend: allow controlling the number of results returned