a document handling machine comprises a stapling device , and a staple cartridge operatively connected to the stapling device and including a staple estimating device adapted for measuring rotational movement of a roll of staples held within the staple cartridge and for estimating a quantity of the staples based on the measured rotational movement .