ITS#9828 Fix ldap_count_values_len pointer confusion

3 jobs for its9828 in 45 minutes and 16 seconds (queued for 1 second)