Count Entity Versions

select username, count(*) as version_count
from ores.accounts
group by username
having count(*) > 1
order by version_count desc;

Emacs 29.3 (Org mode 9.6.15)