s4:extended_dn_out LDB module - change counter variables to "unsigned" where appropriate