Determination of the number of wounded nucleons in Pb plus Pb collisions at 158 A GeV/c