Would `len(self.map.value)` be more efficient?  I'm assuming `iter` calls the above iterator.