add datapoint counter

trying again to add this as requested...