in debug mode, only output fidelity with count