'Record new value to statistic.'

def record(self, value):

    self._count += 1
    self._sum += value
    if ((not self._max) or (self._max < value)):
        self._max = value
    if ((not self._min) or (self._min > value)):
        self._min = value
