_myUnitCount = count units group player; // get group size hint format["Group Size is %1", _myUnitCount]; // hint group size