A novel technique for the measurement of the avalanche fluctuation of gaseous detectors