Postgresql Select Distinct Multiple Columns Count