Q&A for science fiction and fantasy enthusiasts
select sum(1) ids_count from ( select distinct id from users) a