How to Count in REST API in v4?

Hey @nextrapi, I have the same error and I tried using entityService, and it still isn’t working. I’m using postgresql.