desc.coils.CoilSet.count

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