add linecounter