Is that an error or does Count() really gives you time?

Care to elaborate a bit on what exactly the object we retrieve is?

It's very simple.

DATATRACK is just an list of DataTrackPoint objects

Each DataTrackPoint has these properties:

Distance

HR

Pace

Speed

Elevation

Grade

Cadence

Power

Elapsed

ClimbSpeed

Pause

LapNumber

LapNote

LapActive

And I create one point for each second of activity, and all values of point are interpolated on that second.

So it's very easy to calculate averages max etc. Because you don't need to calculate weighted averages. You have a point for every second, so everything is linear and easy to calculate...

(Only weakness is that we are missing decimal places of seconds. But who cares me no

It could be changed easily to 100miliseconds for example, but calculations will than be harder. Because you will need to do conversion all the time.)

And this means that if you get count of points you will get in fact number of seconds...

So if you for example filter only points that have heart rate > 150.

You can than easily calculate count of points and get time when your heart rate was bigger than 150.

And sometimes is flexible to have only points with no pauses included and elapsed time is shifted with pauses value.

And this is in fact:

{DATATRACK}

And if you want to have points that are pauses too, than use:

{DATATRACKWITHPAUSES}

In some cases this is useful.

If you need to know more just ask.

P.S:

A way to recompute for only 1 activity would be useful but I can deal without.

Could you please explain me this? I don't understand what do you think with it.

Thanks

Peter