@Override public int groupCount() { final Region region = joniMatcher.getRegion(); return region == null ? 0 : region.numRegs - 1; }