g.polyline.length()

Return the length of the polyline.