Add script to write user counts to csv.