title: C Language OpenLDAP API for obtaining number of attributes available for a search result entry
body: <p>I want to retrieve the number of attributes available for an LDAP search result entry of type <code>LDAPMessage</code> obtained from <code>ldap_search_ext_s()</code>. I know it can be done manually by calling <code>ldap_first_attribute()</code> and <code>ldap_next_attribue()</code> APIs with the help of a loop and a counter variable. But is there any APIs available to obtain the count by a single call?</p>