WordPress 4.9.0 Hooks, Functions, Classes and Methods
Page 11

count_users()

Counts number of users who have each of the user roles.