count the number of registered users in ldap