count based integrity checks