Doubt about Sentry events counter

Hello, I am currently working on a project that consumes the Sentry API, but I am running through some issues when it comes to assert that the counter returned by api/0/<organization_slug>/<project_slug>/issues/ is really real time updated. To explain the problem: I have a task that runs some times per day, this task fetches all the recent issues in my projects and gets the “counter” from each issue, this “counter” is saved on influxDB instance so I can show some insights about specific issues on my projects, make some calculations etc. The problem is that this counter never matches exactly the number of events found at https://sentry.io/organizations/<organization>/stats/. So I am wondering if I am doing it wrong or there’s a better way to get this info (without make millions of requests to /events/ endpoint).

Thanks.