def METHOD_NAME(self, include_ramp=True):
    current_size = math.ceil(
        self.current_val.float().mean().item() * self._max_size
    )
    if include_ramp:
        current_size += self._ramp_size
    current_size = max(0, min(self._max_size, current_size))
    return current_size