Returns the number of strings in the array.
#include <ldap.h>
int ldap_count_values (
char **vals);
(IN) Points to the array of values returned by the ldap_get_values or ldap_get_values_len function.
The ldap_count_values function can be used for attributes that have character string values. If the array contains berval structures (binary data), use the ldap_count_values_len function.