Code

rewrote the document list as a (SPDocument,use_count) map, incrementing use_count...