The only thing you can do is change the type of "bool" to " int " or something like that. How much the variable allows you to fit in itself, so much and can, no more. If the maximum number is exceeded, then the count starts from the minimum possible number in the variable or from zero.
Of course, there may be ways, but I have not yet met this...