Implement Collection<T>.size() on map's values() in JS