Supporting SQL_CALC_FOUND_ROWS in Entities