For feature ranking methods, usually the number of the features to be used is determined by the user. Or Alternatively you can use the classification results and add one feature step by step and find out how many features are useful for your specific problem.