php quest_done.php statistics --with-documents --without-documents Please enter start date: 2015-01-01 Please enter end date: 2015-12-31 +-------+-----------+ | Count | Sum | +-------+-----------+ | 100 | 147012.55 | | 94 | 142332.71 | | 6 | 4679.84 | +-------+-----------+