static int countValues(Map map, B value) { ret countOccurrences(values(map), value); }