int ldap_count_entries
(int link_identifier, int result_identifier);Returns number of entries in the result or false on error.
ldap_count_entries() returns the number of entries stored in the result of previous search operations. result_identifier identifies the internal ldap result.