added usage of repetitiveConditionProvider for retrieving templates and objects count