Add getTriangleCount
Add RandomPolygon implementation