Whoops. Wasn't actually incrementing the count for MetricType.Average stats.