+1 thing I should have been aware and wasn't... however, this is generally supported by probably most IDEs. Anyway, note to self:
cloc
E.g.
cloc .
may result in something like
In other ancient news, PyCharm can just create a desktop entry (Tools/Create Desktop Launcher) - somehow that just didn't happen last time it was installed.
And it does offer project statistics, e.g. by installing "Statistic" from Settings/Plugins/Marketplace. This one has taken a while in my case to initialize - the caveat potentially being getting bogged down with binaries, seems it's found over 281k lines in mp3 files, and 72k+ in .webp's.
⚠ Might require filtering by extensions with very firm hands... ;)