multiplicities

fun Sequence<ExprValue>.multiplicities(): TreeMap<ExprValue, Int>