Compute the number of trailing zeros in N-factorial