iteration like count bugfix