countLaw

inline fun <E> Array<E>.countLaw(): Int
inline fun <E> Array<E>.countLaw(predicate: (E) -> Boolean): Int