Use expression for min/max count in NodeDefinition (work in progress)