Required library edition:
Required library file: dhtmlxfolders.js
gets number of items currently known to Folders object (it can be chnaged then if dynamical loading is allowed)
Returns numeric value - number of items
alert("There are " + myFolders.getItemsNum() + " items in the folder")