@classmethod
def count(cls, service, name):
    ' Use this API to count vpnvserver_vpnnexthopserver_binding resources configued on NetScaler.\n\t\t'
    try:
        obj = vpnvserver_vpnnexthopserver_binding()
        obj.name = name
        option_ = options()
        option_.count = True
        response = obj.get_resources(service, option_)
        if response:
            return response[0].__dict__['___count']
        return 0
    except Exception as e:
        raise e
Use this API to count vpnvserver_vpnnexthopserver_binding resources configued on NetScaler.
@classmethod
def count(cls, service, name):
    ' \n\t\t'
    try:
        obj = vpnvserver_vpnnexthopserver_binding()
        obj.name = name
        option_ = options()
        option_.count = True
        response = obj.get_resources(service, option_)
        if response:
            return response[0].__dict__['___count']
        return 0
    except Exception as e:
        raise e