Creates time series data by counting lines and grouping them by a given date format. Takes dates on stdin in format -i, will group them by format -g, and write them in format -o.