static int countValuesWhere_sync(Map map, O... data) { if (map == null) ret 0; synchronized(map) { ret countWhere(values(map), data); } }