Counting actions in current visit?

Hi,

Is there a way to determine, from the _paq object or otherwise, the number of actions the user has taken? (In the current session and/or all time?)

Thanks!

P.s. this is always zero:

Piwik.getTracker().getNumTrackedPageViews()

No luck here so far, we’re trying to leverage Matomo to support lead scoring. E.g. to get an idea of how engaged they are at the time they submit a request. E.g. count the number of actions, page views or anything that would help determine engagement.