function GetListItemCount( list ) { //Get a comma separated string of items from the list var itemString = list.GetList( "," ); //Split the comma separated item string into an array of items var itemArray = itemString.split( "," ); return itemArray.length; }