Plugin to automatically timestamp and write count