i have a table that i need to limit and offset that also needs to return the count. is there a way to do this using one query?