Rule iteration check I am currently making a site that will implement a system of volume licenses and I am using a system of checking user registration info to check for certain rules.
My rule works like this

i. On the event of a new user being generated

ii. Check for two conditions present in the user registration info

Check one AND Check two

iii. Grant the user a certain permissions role.

Problem: I need this rule to only work for X amount of users they have added with X being the amount of users that is allowed for with their volume license. I do not know a way nor can I find a way to check against how many times a rule is ran and then disables the rule if a certain number of users have received a role this way. Any ideas?
When the rule is ran a certain role is granted to the user. So in your rule's condition add a PHP (or any other way) and check for the number of users who have this role.