Record the number of extra groups.