Fix groupBy/count handling

Fixes https://github.com/querydsl/querydsl/issues/1055#issuecomment-64798886