get_n_activities: Get the number of activities
Description
It can be used to get the total number of activities defined inside a trajectory.Usage
get_n_activities(traj)
Arguments
traj
the trajectory object.
Value
- The number of activities in the trajectory.