Thanks for the kind words!
$ git remote get-url origin
ssh://[email protected]/git-bug/git-bug.git
$ for n in bugs identities; do echo "${n} on the remote: " $(git ls-remote origin "refs/${n}/\*" | wc -l); done
bugs on the remote: 453
identities on the remote: 311
See the related issue for more info: https://github.com/git-bug/git-bug/issues/1221#issuecomment-...