How to enable the gathering of statistics using the simulator