Count feature value occurrences