Multiplicity of charged particles π− interactions on nuclei at 40 GeV/c