def __len__(self):
        return self.point_count
The length returns the number of points in the LineString.
dataset/ETHPy150Open dcramer/django-compositepks/django/contrib/gis/gdal/geometries.py/LineString.__len__