count

fun count(): Int

Returns the number of entries in this map.


inline fun count(predicate: (K, V) -> Boolean): Int

Returns the number of entries matching the given predicate.