Now I can calculate the total length + more cleanup of HTML/CSS/JS