save total results in CSV