The number of detectors is always kept in an integer descriptor, NDETS. This is ordinarily the same as the number of output data channels from the instrument.