Determine the number of ways of choosing three points from the grid below, so that they form an isosceles right triangle.
See https://web2.0calc.com/questions/help-with-counting_66