int num_connections(string ldap_url)
Returns the number of currently stored connections for the given LDAP URL.