- ws_fnc_countUnits optimized