I try to do a simple frontend app with Angular, which uses this Open Brewery DB API to fetch data. I would like to fetch only 10 items per page and make pagination for the rest.
My problem is that I don't know how many items are in the database so I could not calculate the maximum number of pages.
Edit: I forgot to mention that there is no endpoint given with which I could query more than 50 items at once.
Is there a way to query the total number of items from an API?