Add a value, and return current average.

def add(self, value):
        """Add a value, and return current average."""
        self._data.append(value)
        if len(self._data) > self._max_count:
            self._data.popleft()
        return sum(self._data)/len(self._data)