This version of Unity is unsupported.

PolygonCollider2D.GetTotalPointCount

Switch to Manual
public int GetTotalPointCount();

Description

Return the total number of points in the polygon in all paths.

See Also: points.