Stats per *registered* domain
Statistics of TLD by the number of capsules at gemini://gemini.bortzmeyer.org/software/lupa/stats.gmi are biased by the flounder.online service which hosts many capsules all under flounder.online. It would be better to count per registered domain. To do so, we need to know the point where registration occurs which means using the unofficial Public Suffix List https://publicsuffix.org/
There is a Python package for that https://pypi.org/project/publicsuffixlist/