public native count(item as T) as ULong
Counts occurrences of the given element in the set. For a set, the result is always 0 or 1.