global statistics collection - work-in-progress