@count.setter
def count(self, val):
    if (val is None):
        self._count = None
    elif (not isinstance(val, int)):
        raise TypeError('Count must be positive integer or None.')
    elif (val < 1):
        raise ValueError('Count must be positive integer or None.')
    else:
        self._count = val
        self._params['count'] = val
@count.setter
def count(self, val):
    if (val is None):
        self._count = None
    elif (not isinstance(val, int)):
        raise TypeError('Count must be positive integer or None.')
    elif (val < 1):
        raise ValueError('Count must be positive integer or None.')
    else:
        self._count = val
        self._params['count'] = val