New Class to count number of line on a dataset