Hi Kerry
I think there are some third party plugins that measure the total time on a course - the problem is that this usually involves the time a user has the course open for rather than whether they are actively doing the activity plus it doesn't count time spent on studying external content.
Regards