get and reset failed assign count