Converts lines of text into columns as well as provides counts per column