Use this API to count the filtered set of lbmonbindings_service_binding resources.
filter string should be in JSON format.eg: "port:80,servicetype:HTTP".
3409
public static long count_filtered(nitro_service service, String monitorname, String filter) throws Exception{
		lbmonbindings_service_binding obj = new lbmonbindings_service_binding();
		obj.set_monitorname(monitorname);
		options option = new options();
		option.set_count(true);
		option.set_filter(filter);
		lbmonbindings_service_binding[] response = (lbmonbindings_service_binding[]) obj.getfiltered(service, option);
		if (response != null) {
			return response[0].__count;
		}
		return 0;
	}
1049730
public static ntp_server[] get_filtered(nitro_service service, String filter) throws Exception
	{
		ntp_server obj = new ntp_server();
		options option = new options();
		option.set_filter(filter);
		ntp_server[] response = (ntp_server[]) obj.getfiltered(service, option);
		return response;
	}
974812
public static dnsnameserver[] get_filtered(nitro_service service, String filter) throws Exception{
		dnsnameserver obj = new dnsnameserver();
		options option = new options();
		option.set_filter(filter);
		dnsnameserver[] response = (dnsnameserver[]) obj.getfiltered(service, option);
		return response;
	}
252930
public static filterpolicy_binding get(nitro_service service, String name) throws Exception{
		filterpolicy_binding obj = new filterpolicy_binding();
		obj.set_name(name);
		filterpolicy_binding response = (filterpolicy_binding) obj.get_resource(service);
		return response;
	}
605831
public static crvserver_filterpolicy_binding[] get(nitro_service service, String name) throws Exception{
		crvserver_filterpolicy_binding obj = new crvserver_filterpolicy_binding();
		obj.set_name(name);
		crvserver_filterpolicy_binding response[] = (crvserver_filterpolicy_binding[]) obj.get_resources(service);
		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;
	}
776492
public static sslcrl_serialnumber_binding[] get_filtered(nitro_service service, String crlname, String filter) throws Exception{
		sslcrl_serialnumber_binding obj = new sslcrl_serialnumber_binding();
		obj.set_crlname(crlname);
		options option = new options();
		option.set_filter(filter);
		sslcrl_serialnumber_binding[] response = (sslcrl_serialnumber_binding[]) obj.getfiltered(service, option);
		return response;
	}
722449
public static long count_filtered(nitro_service service, String sitename, String filter) throws Exception{
		gslbsite_gslbservice_binding obj = new gslbsite_gslbservice_binding();
		obj.set_sitename(sitename);
		options option = new options();
		option.set_count(true);
		option.set_filter(filter);
		gslbsite_gslbservice_binding[] response = (gslbsite_gslbservice_binding[]) obj.getfiltered(service, option);
		if (response != null) {
			return response[0].__count;
		}
		return 0;
	}
1304113
public static lbmonitor[] get_filtered(nitro_service service, String filter) throws Exception{
		lbmonitor obj = new lbmonitor();
		options option = new options();
		option.set_filter(filter);
		lbmonitor[] response = (lbmonitor[]) obj.getfiltered(service, option);
		return response;
	}
242700
public static gslbsite[] get_filtered(nitro_service service, String filter) throws Exception{
		gslbsite obj = new gslbsite();
		options option = new options();
		option.set_filter(filter);
		gslbsite[] response = (gslbsite[]) obj.getfiltered(service, option);
		return response;
	}
1204961
public static dnspolicylabel[] get_filtered(nitro_service service, String filter) throws Exception{
		dnspolicylabel obj = new dnspolicylabel();
		options option = new options();
		option.set_filter(filter);
		dnspolicylabel[] response = (dnspolicylabel[]) obj.getfiltered(service, option);
		return response;
	}
825703
public static responderglobal_responderpolicy_binding[] get_filtered(nitro_service service, String filter) throws Exception{
		responderglobal_responderpolicy_binding obj = new responderglobal_responderpolicy_binding();
		options option = new options();
		option.set_filter(filter);
		responderglobal_responderpolicy_binding[] response = (responderglobal_responderpolicy_binding[]) obj.getfiltered(service, option);
		return response;
	}
1192769
public static lbpersistentsessions[] get_filtered(nitro_service service, String filter) throws Exception{
		lbpersistentsessions obj = new lbpersistentsessions();
		options option = new options();
		option.set_filter(filter);
		lbpersistentsessions[] response = (lbpersistentsessions[]) obj.getfiltered(service, option);
		return response;
	}
132082
public static cspolicy_cspolicylabel_binding[] get_filtered(nitro_service service, String policyname, String filter) throws Exception{
		cspolicy_cspolicylabel_binding obj = new cspolicy_cspolicylabel_binding();
		obj.set_policyname(policyname);
		options option = new options();
		option.set_filter(filter);
		cspolicy_cspolicylabel_binding[] response = (cspolicy_cspolicylabel_binding[]) obj.getfiltered(service, option);
		return response;
	}
250054
public static service[] get_filtered(nitro_service service, String filter) throws Exception{
		service obj = new service();
		options option = new options();
		option.set_filter(filter);
		service[] response = (service[]) obj.getfiltered(service, option);
		return response;
	}
1305306
public static br[] get_filtered(nitro_service service, String filter) throws Exception
	{
		br obj = new br();
		options option = new options();
		option.set_filter(filter);
		br[] response = (br[]) 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;
	}