[Add] new #defines for metrics.
[New] Polling metrics. To make them work use ./configure --enable-status
[New] Time taken by exports

Note: Needs to be tested, and the prints need to be removed.