count

inline fun NamedNodeMap.count(predicate: (Attr) -> Boolean): Int(source)

A function to count all attributes for which the predicate holds.