diff --git a/simpleai/search/viewers.py b/simpleai/search/viewers.py
index <HASH>..<HASH> 100644
--- a/simpleai/search/viewers.py
+++ b/simpleai/search/viewers.py
@@ -34,6 +34,7 @@ class BaseViewer(object):
         self.stats = {
             'max_fringe_size': 0,
             'visited_nodes': 0,
+            'iterations': 0,
         }
 
         self.clear_nodes_data()
@@ -59,6 +60,7 @@ class BaseViewer(object):
     def handle_new_iteration(self, fringe):
         self.current_fringe = fringe
         self.stats['max_fringe_size'] = max(self.stats['max_fringe_size'], len(fringe))
+        self.stats['iterations'] += 1
 
         description = 'New iteration with %i elements in the fringe:\n%s'
         description = description % (len(fringe), str(fringe))
Added an iterations counter to the statistics