A dot is marked at each vertex of a triangle $ABC$. Then, 2, 3, and 7 more dots are marked on the sides $AB$, $BC$, and $CA$, respectively. How many triangles have their vertices at these dots?

Let's think step by step and output the final answer within \boxed{}.
user