treams.PlaneWaveBasisByUnitVector.count

PlaneWaveBasisByUnitVector.count(value) integer -- return number of occurrences of value