code: @NullSafe
    public static <K, V> int count(Map<K, V> map) {
      return (map != null ? map.size() : 0);
    }
docs: Determines the number of entries (key-value pairs) in the {@link Map}.  This method is null-safe and will
  return 0 if the {@link Map} is null or empty.
  
  @param <K> Class type of the key.
  @param <V> Class type of the value.
  @param map {@link Map} to evaluate.
  @return the size, or number of elements in the {@link Map}, returning 0 if the {@link Map} is null or empty.