[Issue 10563] ldap_count_message() returns '1' even with empty LDAPMessage as input.