Added CountLines function in ImportData