Revert "add global stats"

This reverts commit 3a5d2f62f1c7354e6ea1010687bcc26873ae41cf.
add generic global stats