pyLBM.stencil.Stencil.count

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