now supports total timeline and total timelines length calc