How to Count in REST API in v4?

It’s about route naming problem try to follow the document on CAUTION section https://docs.strapi.io/developer-docs/latest/development/backend-customization/routes.html#creating-custom-routers