public static <K, V> int occurrencesOf(Map<K, V> map, V object)
    {
        return Iterate.count(map.values(), Predicates.equal(object));
    }
public static < K , V > int occurrencesOf ( Map < K , V > map , V object ) { return Iterate . count ( map . values ( ) , Predicates . equal ( object ) ) ; }
Return the number of occurrences of object in the specified map.