SciPy

scipy.LowLevelCallable.count

LowLevelCallable.count()