rewrite document list
fix document count
Merge pull request #14 from arnaudbey/rewrite-documentList

rewrite document list