remove perentheses from doc group counts. Fix #1018