Only display custom counter message if there are custom counters.

Currently some of our test output is getting spammed with this message. This fixes that.