Fixed the calculation of totals for custom corpora
Fixed the calculation of totals for custom corpora

jeffbinder/distancemachine,jeffbinder/distancemachine,jeffbinder/distancemachine,jeffbinder/distancemachine,jeffbinder/distancemachine