statistics export to csv