Main consumption of the apps work units is the count of elements on the main page (I use it for pagination so we have 1 - X elements, plus this is also used on buttons - so when you are on page X-2 there are more buttons, like the pagination works etc.).
My question - is there a way to get a count of elements in a fast and cheap way.
My elements don’t have slugs, they have numbers but in rare cases an element can get deleted, so not sure if I can take the last nr as the referal (worst case scenario I can do it)
.
So is there any other way? To get the count but cheaper and not count on every page refresh?