corrected the feature count