AnimationTrack.Length not accurate

I had a similar problem, and had actually used the ContentProvider to Preload all my anims but i had encountered a weird thing - the anims played normally but when i tried to use Anim.Length the first time the animation played the output was 0 and the next time it played it was normal. The line of code above has solved it