public static long count_filtered(nitro_service service, String servicegroupname, String filter) throws Exception{
		sslservicegroup_sslciphersuite_binding obj = new sslservicegroup_sslciphersuite_binding();
		obj.set_servicegroupname(servicegroupname);
		options option = new options();
		option.set_count(true);
		option.set_filter(filter);
		sslservicegroup_sslciphersuite_binding[] response = (sslservicegroup_sslciphersuite_binding[]) obj.getfiltered(service, option);
		if (response != null) {
			return response[0].__count;
		}
		return 0;
	}
public static long count_filtered ( nitro_service service , String servicegroupname , String filter ) throws Exception { sslservicegroup_sslciphersuite_binding obj = new sslservicegroup_sslciphersuite_binding ( ) ; obj . set_servicegroupname ( servicegroupname ) ; options option = new options ( ) ; option . set_count ( true ) ; option . set_filter ( filter ) ; sslservicegroup_sslciphersuite_binding [ ] response = ( sslservicegroup_sslciphersuite_binding [ ] ) obj . getfiltered ( service , option ) ; if ( response != null ) { return response [ 0 ] . __count ; } return 0 ; }
Use this API to count the filtered set of sslservicegroup_sslciphersuite_binding resources.
filter string should be in JSON format.eg: "port:80,servicetype:HTTP".