Add counting of points