Measuring Flexibility