Getting Animation Time from Sequence Variable

Is it possible to get some sort of time from an animation sequence variable? I want to make my animations drag and drop and I need the total time of the animation, but setting a float manually defeats the purpose of drag and drop.