Reset the number of lines to 0 when initializing the simple list