added usage of repetitiveConditionProvider fro retrieving templates and objects count