IDN Lite Licensing

Even in Identity attribute rule you do not have any way to get number of accounts any identity holds. We are limited to methods provided by OOTB idn object which has methods listed in this page.

The only option I see is create webservice source, call idn apis to get extra attribute which gives number of accounts identity has and use that in transform(substract 2 from that number).