ave = sum / count
//handle special case first if (this.count() == 0) return null; //now delegate return this.sum() / this.count();