I would not compute an average if no data exists. The value only makes sense if $sizeOfAverage > 0.