Can the result of a backend query not be assigned to a variable on page load?
And then passed as a parameter to functions to do basic things like counting or summing values from a list of documents?
How do i show different roles and users insights on collections, like in charts and dashboards?
Am I missing something?