Postgres liczy się wyraźnie
SELECT
COUNT(DISTINCT column)
FROM
table_name
WHERE
condition;
Graceful Goose
SELECT
COUNT(DISTINCT column)
FROM
table_name
WHERE
condition;