public int getUserCount() {
        return provider.getUserCount();
    }
Returns the total number of users in the system.

@return the total number of users.
xmppserver/src/main/java/org/jivesoftware/openfire/user/UserManager.java