Introduced num_configurations()