Extract the number of generations performed in an Approximate
Bayesian Computation (ABC) analysis from a SimInf_abc
object. Each generation represents a sequential round of the
algorithm, involving the simulation of particles,
acceptance/rejection based on the distance threshold, and
parameter perturbation for the next round.