Register some global statistics. Use OPAMSTATS=1 to activate.