bugfix: initialize iter_count when no plotting"