stats: add counter for corrupted index entries