Reference answer: 29
65. As shown in the figure, the intersection points of the two pairs of opposite sides of quadrilateral $ABCD$ are $E$ and $F$, and the intersection point of the diagonals is $G$. By selecting three points from $A$, $B$, $C$, $D$, $E$, $F$, and $G$ as the vertices of a triangle, the number of triangles that can be formed is $\qquad$.