Multiplicity of charged particles in inelastic interactions of oxygen nuclei with hydrogen at 3.1 A GeV/C