Resolve "View number of fouls in visualizer"

Closes #1716

See merge request main/Sumatra!1521

sumatra-commit: 6e7b48c0e1f6de25bd0d16b0f9aa8db14821f59c
2 jobs for master in 4 minutes and 38 seconds (queued for 2 seconds)