Add triangle square counting