A 10 MHz beam counter and a multiplicity detector for the E864 spectrometer