public native count(item as T) as ULong
Counts occurrences of the given element.
import klyn.collections values = fs:[10, 20, 10] print(values.count(10)) # 2
Number of matching elements.