add count line tool