Why can\'t we use count(distinct *) in SQL? As in to count all distinct rows?
count(distinct *)
UberKludge, and may be postgre specific, but
select count( distinct table::text ) from table