The number of points is correct, but you appear to have included any possible line segments that could be drawn, and not just the actual ones that are drawn.