Add get ldap user entry count method.