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