Multiplicity correlation in heavy-ion interactions at 3-A-GeV/c and 4.5-A-GeV/c