new method for feature count