+ fixded index bug in feature count