Postgres Concatenate Strings Group By Sql Count