Use this API to count the filtered set of nstrafficdomain_bridgegroup_binding resources.
filter string should be in JSON format.eg: "port:80,servicetype:HTTP".
438576
public static long count_filtered(nitro_service service, Long td, String filter) throws Exception{
		nstrafficdomain_bridgegroup_binding obj = new nstrafficdomain_bridgegroup_binding();
		obj.set_td(td);
		options option = new options();
		option.set_count(true);
		option.set_filter(filter);
		nstrafficdomain_bridgegroup_binding[] response = (nstrafficdomain_bridgegroup_binding[]) obj.getfiltered(service, option);
		if (response != null) {
			return response[0].__count;
		}
		return 0;
	}
364522
public static nstrafficdomain_vlan_binding[] get(nitro_service service, Long td) throws Exception{
		nstrafficdomain_vlan_binding obj = new nstrafficdomain_vlan_binding();
		obj.set_td(td);
		nstrafficdomain_vlan_binding response[] = (nstrafficdomain_vlan_binding[]) obj.get_resources(service);
		return response;
	}
500506
public static managed_device[] get_filtered(nitro_service service, String filter) throws Exception
	{
		managed_device obj = new managed_device();
		options option = new options();
		option.set_filter(filter);
		managed_device[] response = (managed_device[]) obj.getfiltered(service, option);
		return response;
	}
731787
public static tunnelglobal_tunneltrafficpolicy_binding[] get_filtered(nitro_service service, String filter) throws Exception{
		tunnelglobal_tunneltrafficpolicy_binding obj = new tunnelglobal_tunneltrafficpolicy_binding();
		options option = new options();
		option.set_filter(filter);
		tunnelglobal_tunneltrafficpolicy_binding[] response = (tunnelglobal_tunneltrafficpolicy_binding[]) obj.getfiltered(service, option);
		return response;
	}
523977
public static long count_filtered(nitro_service service, String groupname, String filter) throws Exception{
		aaagroup_auditnslogpolicy_binding obj = new aaagroup_auditnslogpolicy_binding();
		obj.set_groupname(groupname);
		options option = new options();
		option.set_count(true);
		option.set_filter(filter);
		aaagroup_auditnslogpolicy_binding[] response = (aaagroup_auditnslogpolicy_binding[]) obj.getfiltered(service, option);
		if (response != null) {
			return response[0].__count;
		}
		return 0;
	}
724410
public static long count_filtered(nitro_service service, String limitidentifier, String filter) throws Exception{
		nslimitidentifier_nslimitsessions_binding obj = new nslimitidentifier_nslimitsessions_binding();
		obj.set_limitidentifier(limitidentifier);
		options option = new options();
		option.set_count(true);
		option.set_filter(filter);
		nslimitidentifier_nslimitsessions_binding[] response = (nslimitidentifier_nslimitsessions_binding[]) obj.getfiltered(service, option);
		if (response != null) {
			return response[0].__count;
		}
		return 0;
	}
1120406
public static Interface[] get_filtered(nitro_service service, String filter) throws Exception{
		Interface obj = new Interface();
		options option = new options();
		option.set_filter(filter);
		Interface[] response = (Interface[]) obj.getfiltered(service, option);
		return response;
	}
230815
public static ns[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception
	{
		ns obj = new ns();
		options option = new options();
		option.set_filter(filter);
		ns[] response = (ns[]) obj.getfiltered(service, option);
		return response;
	}
25818
public static filterglobal_filterpolicy_binding[] get_filtered(nitro_service service, String filter) throws Exception{
		filterglobal_filterpolicy_binding obj = new filterglobal_filterpolicy_binding();
		options option = new options();
		option.set_filter(filter);
		filterglobal_filterpolicy_binding[] response = (filterglobal_filterpolicy_binding[]) obj.getfiltered(service, option);
		return response;
	}
345001
public static long count_filtered(nitro_service service, String filter) throws Exception
	{
		sms_server obj = new sms_server();
		options option = new options();
		option.set_count(true);
		option.set_filter(filter);
		sms_server[] response = (sms_server[])obj.get_resources(service, option);
		if (response != null && response.length > 0)
			return response[0].__count;
		return 0;
	}
35985
public static long count_filtered(nitro_service service, lbmonbindings obj, String filter) throws Exception{
		options option = new options();
		option.set_count(true);
		option.set_filter(filter);
		option.set_args(nitro_util.object_to_string_withoutquotes(obj));
		lbmonbindings[] response = (lbmonbindings[]) obj.getfiltered(service, option);
		if (response != null) {
			return response[0].__count;
		}
		return 0;
	}
565290
public static snmpgroup[] get_filtered(nitro_service service, String filter) throws Exception{
		snmpgroup obj = new snmpgroup();
		options option = new options();
		option.set_filter(filter);
		snmpgroup[] response = (snmpgroup[]) obj.getfiltered(service, option);
		return response;
	}
231465
public static nstrafficdomain_bridgegroup_binding[] get(nitro_service service, Long td) throws Exception{
		nstrafficdomain_bridgegroup_binding obj = new nstrafficdomain_bridgegroup_binding();
		obj.set_td(td);
		nstrafficdomain_bridgegroup_binding response[] = (nstrafficdomain_bridgegroup_binding[]) obj.get_resources(service);
		return response;
	}
170275
public static tunneltrafficpolicy[] get_filtered(nitro_service service, String filter) throws Exception{
		tunneltrafficpolicy obj = new tunneltrafficpolicy();
		options option = new options();
		option.set_filter(filter);
		tunneltrafficpolicy[] response = (tunneltrafficpolicy[]) obj.getfiltered(service, option);
		return response;
	}
808062
public static long count_filtered(nitro_service service, String sitepath, String filter) throws Exception{
		wisite_translationinternalip_binding obj = new wisite_translationinternalip_binding();
		obj.set_sitepath(sitepath);
		options option = new options();
		option.set_count(true);
		option.set_filter(filter);
		wisite_translationinternalip_binding[] response = (wisite_translationinternalip_binding[]) obj.getfiltered(service, option);
		if (response != null) {
			return response[0].__count;
		}
		return 0;
	}
461422
public static long count_filtered(nitro_service service, String id, String filter) throws Exception{
		linkset_channel_binding obj = new linkset_channel_binding();
		obj.set_id(id);
		options option = new options();
		option.set_count(true);
		option.set_filter(filter);
		linkset_channel_binding[] response = (linkset_channel_binding[]) obj.getfiltered(service, option);
		if (response != null) {
			return response[0].__count;
		}
		return 0;
	}
1197482
public static nsip[] get_filtered(nitro_service service, String filter) throws Exception{
		nsip obj = new nsip();
		options option = new options();
		option.set_filter(filter);
		nsip[] response = (nsip[]) obj.getfiltered(service, option);
		return response;
	}