@Override
    public int size() {
        return policies.size();
    }
This is {@link ChainingAttributeReleasePolicy}.

@author Misagh Moayyed
@since 5.1.0
core/cas-server-core-authentication-attributes/src/main/java/org/apereo/cas/services/ChainingAttributeReleasePolicy.java