improve use count sanity check