Is there a way in drizzle to return the count before limit and offset?

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?
Was this page helpful?