Currently, it's not possible to limit the number of results returned by a specific query. It always returns as much elements as it matches, up to the overall limit (which would result in an exception view/error message rather than the number of results up to this limit).
For certain use cases it would be good to have the possibility to limit the number of results on a per query basis. Having such a feature, we could create queries, e.g. for diagrams, where just a certain number of results (10, 20, 50, ...) are used to generate something.