wait, I got a better idea. Say each walkcycle animation features 2 steps. The steps will then probably be at around 0.25 and 0.75 in normalized animation time, if you animate like a pro
(doesn't matter if it's different, 0 and .5 is the same principle) So you can actually get the exact timing without any external input, which is probably preferable.
So what you can do, is get component with an object variable of the type "Animation" (see my thread in the tips and tricks section), then get from that the property "clip" . Get from that object both the length and frame rate.
Now with these two variables and the normalized time of the footsteps, it's simple math to get the exact time of the footsteps, either in frames or in actual time. If the clip is 40 frames long, and it plays at 60fps, it takes 4/6 seconds to loop. If the first step is at 25%, that is (4/6)/4 = 0,17 seconds .