Pattern counts groups & Pattern::groupCount()