Run a query with a LIMIT/OFFSET and also get the total number of rows Run a query with a LIMIT/OFFSET and also get the total number of rows postgresql postgresql