Each side of an equilateral triangle is divided into $ 1997$ equal parts, and each vertex of the triangle is joined by a segment to each of the division points on the opposite side. All the intersection points of these segments inside the triangle are marked. How many marked points are there?