API:GetBankNumItems

Returns max Banklots. local numItems = GetBankNumItems;

Returns

 * numItems - 200 Bankslots

Example
/script DEFAULT_CHAT_FRAME:AddMessage(GetBankNumItems);