diff --git a/angr/path_history.py b/angr/path_history.py
index <HASH>..<HASH> 100644
--- a/angr/path_history.py
+++ b/angr/path_history.py
@@ -250,7 +250,7 @@ class TreeIter(object):
         return list(reversed(tuple(reversed(self))))
 
     def __len__(self):
-        return len(self.hardcopy)
+        return self._start.length
 
     def __getitem__(self, k):
         if isinstance(k, slice):
removed unnecessary hardcopy of pathhistory while calculating the length. In my script this gave a <I>% performance increase alone