def __len__(self):
        return self.num_interior_rings + 1
Returns the number of rings in this Polygon.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/gis/geos/polygon.py/Polygon.__len__