Export the count when exporting to CSV