record count add delete output directory