treams.PlaneWaveBasisByComp.count

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