sql group by having count multiple columns