Forgot the countedWriter class (and the entirety of util.go :()