fix issue with Stat.toString() when size=0 (log returns -inf)

Math.log(0) = -infinity
shouldn't it be return "0" ?