Adds a gauge for number of states with candidates

The gauge simply calls statesWithCandidates.size(), so if used sanely,
should not lead to any problems.
Merge pull request #423 from ivan-p92/states-with-candidates-gauge

Gauge for number of states with candidates