SQL: How to count distinct rows?

Armitage

Banned
Feb 23, 2001
8,086
0
0
So I can count the rows: SELECT count(*) FROM my_table
I can return distinct rows: SELECT DISTINCT my_column FROM my_table

But can I count the distinct records without actually returning them?