create TriangleCounting