Postgresql Select Count Distinct Multiple Columns In A Listbox