New function to count the number of columns ina a file.