statistics: add comment to refactor w. apache code