How to Count in REST API in v4?

I am not sure why you are creating a separate Endpoint just to get count :thinking:
But nvm, in strapi you can get the count of the records by using those methods.
Check the documents: Bulk Operations | Strapi Documentation ,
Bulk Operations | Strapi Documentation
OR
by using raw query too.

1 Like