repaced the configuration getter only for the number of replications of triggers with the general one.

If we need the number of generations for indivisual items, I will
added an argument for specifing the item in this function.