From ESOUI Wiki
Returns the minimum amount of a raw material needed in order for the player to refine any of that material. That is: given the fact that you can refine x of a raw material at a time, this function returns x.
local count = GetRequiredSmithingRefinementStackSize() d("You can refine raw materials in bunches of " .. count .. ".")