How to find the number of roles and users defined in elastic search

I can use /_security/role/ to get the details of a specific role, is there any syntax to get the number of roles defined?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.