moved touch or not touch count from index to lines.js