Added method BasicTreeWithGlobalUniqueID.getItemCount ()