CID 34798: Division or modulo by float zero (DIVIDE_BY_ZERO)
count which may be zero has undefined behavior.