Fixed:#2 Group counting mistake
Fixed:#2 Group counting recursive error