Attach statistics to the PrepareCommand for Total Order