Description of problem:
Statistic on the document view in editor always show loading in the last page.
Issue seems to happen on any project with more than 1000 documents.
Found out the issue can be reproduce when a version contains empty document.
VERIFIED with Zanata 3.6.3-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-3617)