The Add function calculates the sum of all points in the data source.

It can also be used to calculate sums by every "n" number of points.