Multiplicity distributions and double-scattering effects in π−d interactions at 360 GeV/c