Fixed a bug in _average

This was reporting the wrong number of total user values.