Fixed rounding error in spy number counter