Add result limit to the Query interface.