It would be nice to have the number of tests shown on the bage images
With v2.0 the badges will be freely customizable (using query parameters and Pipeline API functions).
So you can configure your badge from your job script.
See README on how to configure your badge.
Released with v2.0