Added getCardinality (String propName) method.