Replaced 'long long' with 'int64' in CountTriangles