Consider the top row of four dots. One can obtain a triple of dots by eliminating any one of the four - so there are four such triples. The same is true for each of the four rows, each of the four columns and the two main diagonals, giving $40$ triples.
In addition there are four diagonal lines consisting of exactly three dots, so there are $44$ triples in total.