@classmethod
def count(cls, service, name):
    'Use this API to count lbvserver_appfwpolicy_binding resources configued on NetScaler.\n\n        :param service: \n        :param name: \n\n        '
    try:
        obj = lbvserver_appfwpolicy_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 lbvserver_appfwpolicy_binding resources configued on NetScaler.

:param service: 
:param name:
@classmethod
def count(cls, service, name):
    'Use this API to count lbvserver_appfwpolicy_binding resources configued on NetScaler.\n\n        :param service: \n        :param name: \n\n        '
    try:
        obj = lbvserver_appfwpolicy_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