how can we calculate the total number of items on the database so that the pagination can be done properly, e.g., deciding how to adjust the page size depending on the total number of items?
As per last comment of Maddy - We don’t currently have this functionality, but I will pass this along to our team as a feature request! We will keep you updated.
Currently there is no metadata on the model that would say how many elements exist for that model, but we have heard that feedback before, and it is something that we are currently taking a look at. The best process is to set a limit of 100 and then check if you get 100 results then make the call for the next 100 and so on