Vector aspv = asd.getPossibleValues();
Vector aspv = asd.getPossibleStates();
    public int getNumStates( String asset_expanded_name,                    String state_descriptor_name )             throws BelievabilityException     {                // Get the AssetStateDescriptor. This may throw a        // BelievabilityException        AssetStateDescriptor asd =                 getAssetStateDescriptor ( asset_expanded_name,                                           state_descriptor_name );                // Get the set of possible values and return the length        Vector aspv = asd.getPossibleValues();        return aspv.size();    }