Print how many packages are installed per repository:

sudo dnf list --installed | grep -E -o "@.*" | sort | uniq -c