count comparisons