Update writing_stats.gs

Updated with my own version.