Offset pagination with total count


I am using neo4j-graphql.js' augmented schema. So I have pagination out of the box with first and offset. (Thanks!) However, I am struggling to get the total count so the UI can show the pages.

I've seen a lot of connection or relay pagination examples. However, I haven't found an offset tutorial that includes the total count. Does anyone know of one? Or have a working example they are willing to share?

Hi Chad,
Can you paste a snippet of what you currently have?

You could probably just remove that "first and offset". I removed those for my projects so I would query everything. However, it would be helpful to see a snippet of what you have at the moment.