The Model companion object provides a function for computing the occupancy (number in system) L_y.
Model
Determine the occupancy of the model.
lt) the event time and corresponding occupancy vectors