get_n_activities: Get the number of activities
Description
Trajectory getter for obtaining the total number of activities defined inside it.
Usage
get_n_activities(.trj)
Arguments
.trj
the trajectory object.
Value
Returns the number of activities in the trajectory.