Hi, >As an alternative: we could use a separate method getSize(int max) which
Yes, that would work as well. I have added that to OAK-300. The disadvantage is that it's a new API (not part of the JCR specification). The two options I proposed don't require a new API. Regards, Thomas
