Counting no of triangle

join shbcf.ru