count number of reseted threads