Increment the number of groups used if a passed in RegExpBuilder uses
groups and is to be combined with the existing RegExpBuilder.