skbio.math.gradient.CategoryResults.count

CategoryResults.count(value) → integer -- return number of occurrences of value