Implement fetching a limited number of rows