Added more stats gathering to the example