SciPy

scipy.LowLevelCallable.count

LowLevelCallable.count(self, value, /)

Return number of occurrences of value.