count

inline fun count(cond: (index: Int) -> Boolean): Int