count lattice points on a circle