recalculate index statistics: harden/error reporting