public static long count(nitro_service service, String name) throws Exception{
		netbridge_nsip6_binding obj = new netbridge_nsip6_binding();
		obj.set_name(name);
		options option = new options();
		option.set_count(true);
		netbridge_nsip6_binding response[] = (netbridge_nsip6_binding[]) obj.get_resources(service,option);
		if (response != null) {
			return response[0].__count;
		}
		return 0;
	}
public static long count ( nitro_service service , String name ) throws Exception { netbridge_nsip6_binding obj = new netbridge_nsip6_binding ( ) ; obj . set_name ( name ) ; options option = new options ( ) ; option . set_count ( true ) ; netbridge_nsip6_binding response [ ] = ( netbridge_nsip6_binding [ ] ) obj . get_resources ( service , option ) ; if ( response != null ) { return response [ 0 ] . __count ; } return 0 ; }
Use this API to count netbridge_nsip6_binding resources configued on NetScaler.