Db2 Group By Count In Postgresql