I apologize for the mistake. Let me correct it.
The total number of triangles that can be formed within a quadrilateral is
C(4,3) = 4! / (3!(4-3)!) = 4! / (3!1!) = 4
Therefore, there are a total of 4 triangles that can be formed within a quadrilateral.