Get total count of models in a Builder.io query

Hi Peeplee! We have heard this request before, and indeed have an internal ticket in our product backlog to add to our API, but no current timeframe. It looks like someone recently made a request to our external feature request board here Return the total amount of items in a model for | Builder.io Ideas

I recommend upvoting this request, as our ideas board is a leading source of direction for our product team!

In the meantime, the best way to iterate over all entries in a model is to use limit and offset, as outlined in this post: What's the maximum limit allowed in a single content API call?

Try that out and see if it works for your use case!